Pagini recente » Cod sursa (job #20168) | Borderou de evaluare (job #1882429) | Borderou de evaluare (job #71367) | Borderou de evaluare (job #966188) | Borderou de evaluare (job #1843493)
Borderou de evaluare (job #1843493)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&N,&M);
^
user.cpp:17:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:20:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d %d",&A[i],&B[i]);
^
user.cpp:20:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:48:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&val);
^
user.cpp:17:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&N,&M);
^
user.cpp:20:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&A[i],&B[i]);
^
user.cpp:48:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&val);
^
user.cpp:44:28: warning: ‘ti’ may be used uninitialized in this function [-Wmaybe-uninitialized]
incepmin[dr]=ti;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1852kb | OK | 10 |
| 2 | 0ms | 1860kb | OK | 10 |
| 3 | 0ms | 1860kb | Incorect | 0 |
| 4 | 4ms | 1876kb | Incorect | 0 |
| 5 | 28ms | 2028kb | Incorect | 0 |
| 6 | 100ms | 2184kb | Incorect | 0 |
| 7 | 112ms | 2496kb | Incorect | 0 |
| 8 | 360ms | 3404kb | Incorect | 0 |
| 9 | Depăşit | 3408kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 3404kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |