Pagini recente » Borderou de evaluare (job #1004203) | Borderou de evaluare (job #2224987) | Borderou de evaluare (job #2567600) | Borderou de evaluare (job #2785374) | Borderou de evaluare (job #1799101)
Borderou de evaluare (job #1799101)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&n,&gr);
^
user.cpp:10:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:13:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&w[i],&val[i]);
^
user.cpp:13:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:24:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",a[n%2][gr]);
^
user.cpp:10:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&gr);
^
user.cpp:13:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&w[i],&val[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 272kb | OK | 5 | 10 |
| 2 | 0ms | 276kb | OK | 5 |
| 3 | 0ms | 288kb | OK | 5 | 15 |
| 4 | 0ms | 280kb | OK | 5 |
| 5 | 0ms | 276kb | OK | 5 |
| 6 | 4ms | 292kb | OK | 5 | 10 |
| 7 | 4ms | 292kb | OK | 5 |
| 8 | 8ms | 304kb | OK | 5 | 15 |
| 9 | 8ms | 304kb | OK | 5 |
| 10 | 4ms | 304kb | OK | 5 |
| 11 | 108ms | 384kb | OK | 5 | 15 |
| 12 | 84ms | 392kb | OK | 5 |
| 13 | 84ms | 388kb | OK | 5 |
| 14 | 276ms | 476kb | OK | 5 | 15 |
| 15 | 348ms | 476kb | OK | 5 |
| 16 | 276ms | 484kb | OK | 5 |
| 17 | 172ms | 424kb | OK | 5 | 0 |
| 18 | Depăşit | 476kb | Time limit exceeded. | 0 |
| 19 | 340ms | 488kb | OK | 5 |
| 20 | 344ms | 488kb | OK | 5 |
| Punctaj total | 80 |