Submission #1303810

#TimeUsernameProblemLanguageResultExecution timeMemory
1303810trinm01Robots (APIO13_robots)C++20
0 / 100
0 ms332 KiB
#include<bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define FOR(i, l, r) for(int i=l; i<=r; i++)
#define FOD(i, r, l) for(int i=r; i>=l; i--)
#define pii pair<int, int>
#define fi first
#define se second
const int MAXN=1e6+5;
const int oo=1e18+7;
const int mod=1e9+7;



signed main(){
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	
	while(1){
		system("gen.exe");
		system("brute.exe");
		system("full.exe");
		if(system("fc o1.out o2.out")){
			cout << "WRONG";
			return 0;
		}
	}
	
	return 0;
}

Compilation message (stderr)

robots.cpp: In function 'int main()':
robots.cpp:21:23: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result]
   21 |                 system("gen.exe");
      |                 ~~~~~~^~~~~~~~~~~
robots.cpp:22:23: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result]
   22 |                 system("brute.exe");
      |                 ~~~~~~^~~~~~~~~~~~~
robots.cpp:23:23: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result]
   23 |                 system("full.exe");
      |                 ~~~~~~^~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...