Pagini recente » Borderou de evaluare (job #488678) | Borderou de evaluare (job #936559) | Borderou de evaluare (job #1393406) | Borderou de evaluare (job #2681806) | Borderou de evaluare (job #1384365)
Borderou de evaluare (job #1384365)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d%d",&n,&k,&MOD);
^
user.cpp:8:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:8:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:10:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&a,&b);
^
user.cpp:10:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:53:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",a);
^
user.cpp:8:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d%d",&n,&k,&MOD);
^
user.cpp:10:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | OK | 10 | 10 |
2 | 0ms | 268kb | OK | 10 | 10 |
3 | 0ms | 288kb | OK | 10 | 10 |
4 | 24ms | 1308kb | OK | 10 | 10 |
5 | 36ms | 1304kb | OK | 10 | 20 |
6 | 8ms | 608kb | OK | 10 |
7 | Depăşit | 8548kb | Time limit exceeded. | 0 | 0 |
8 | 56ms | 2424kb | OK | 10 |
9 | 472ms | 8536kb | OK | 10 | 20 |
10 | 244ms | 8008kb | OK | 10 |
Punctaj total | 80 |