Pagini recente » Borderou de evaluare (job #2674058) | Borderou de evaluare (job #1040542) | Borderou de evaluare (job #180586) | Borderou de evaluare (job #1380131) | Borderou de evaluare (job #1944307)
Borderou de evaluare (job #1944307)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(FILE*, FILE*)’:
user.cpp:24:74: 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:26: 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:40: 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 | 284kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 748ms | 284kb | OK | 10 |
4 | 748ms | 284kb | OK | 10 |
5 | 800ms | 284kb | OK | 10 |
6 | 632ms | 284kb | OK | 10 |
7 | 560ms | 284kb | OK | 10 |
8 | 508ms | 288kb | OK | 10 |
9 | 464ms | 284kb | OK | 10 |
10 | 844ms | 284kb | OK | 10 |
Punctaj total | 100 |