Pagini recente » Borderou de evaluare (job #1952429) | Borderou de evaluare (job #2403359) | Borderou de evaluare (job #3157847) | Borderou de evaluare (job #1221526) | Borderou de evaluare (job #1878838)
Borderou de evaluare (job #1878838)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(FILE*, FILE*)’:
user.cpp:24:72: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(fout, "%d\n", (((long long)s + d) % MOD + MOD) * 333007 % MOD);//(s+d)/2, dar invers modular
^
user.cpp: In function ‘int main()’:
user.cpp:31:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &t);
^
user.cpp: In function ‘void solve(FILE*, FILE*)’:
user.cpp:19:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%lld", &k, &p, &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 10 |
| 2 | 0ms | 288kb | OK | 10 |
| 3 | 744ms | 284kb | OK | 10 |
| 4 | 744ms | 284kb | OK | 10 |
| 5 | 800ms | 284kb | OK | 10 |
| 6 | 632ms | 284kb | OK | 10 |
| 7 | 556ms | 288kb | OK | 10 |
| 8 | 508ms | 284kb | OK | 10 |
| 9 | 464ms | 288kb | OK | 10 |
| 10 | 840ms | 284kb | OK | 10 |
| Punctaj total | 100 |