Pagini recente » Cod sursa (job #2987655) | Cod sursa (job #1990682) | Cod sursa (job #321108) | Cod sursa (job #259504) | Borderou de evaluare (job #1843491)
Borderou de evaluare (job #1843491)
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:50:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d ",dq[st-1]);
^
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 | 1820kb | Killed by signal 8(SIGFPE). | 0 |
| 2 | 0ms | 1848kb | OK | 10 |
| 3 | 0ms | 1828kb | Killed by signal 8(SIGFPE). | 0 |
| 4 | 4ms | 1876kb | Incorect | 0 |
| 5 | 8ms | 1996kb | Killed by signal 8(SIGFPE). | 0 |
| 6 | 16ms | 2160kb | Killed by signal 8(SIGFPE). | 0 |
| 7 | 32ms | 2472kb | Killed by signal 8(SIGFPE). | 0 |
| 8 | 76ms | 3376kb | Killed by signal 8(SIGFPE). | 0 |
| 9 | 76ms | 3376kb | Killed by signal 8(SIGFPE). | 0 |
| 10 | 76ms | 3376kb | Killed by signal 8(SIGFPE). | 0 |
| Punctaj total | 10 |