Pagini recente » Borderou de evaluare (job #2447284) | Borderou de evaluare (job #185112) | Borderou de evaluare (job #2718350) | Borderou de evaluare (job #1917399) | Borderou de evaluare (job #1352119)
Borderou de evaluare (job #1352119)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:62:77: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", ( ((ll)sol1 + sol2) % MOD + ((ll)sol1 * sol2) % MOD ) % MOD);
^
user.cpp:42:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(INFILE, "r", stdin);
^
user.cpp:43:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUTFILE, "w", stdout);
^
user.cpp:46:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &T); T; --T) {
^
user.cpp:48:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:50:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 228kb | Time limit exceeded. | 0 |
Punctaj total | 0 |