Pagini recente » Monitorul de evaluare | Borderou de evaluare (job #1363703) | Borderou de evaluare (job #1927750) | Borderou de evaluare (job #1636528) | Borderou de evaluare (job #1570963)
Borderou de evaluare (job #1570963)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fin, "%d", &n);
^
user.cpp:20:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(fin, "%d", &v[i]);
^
user.cpp:39:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(fout, "%d", maxx);
^
user.cpp:16:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:20:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
user.cpp:12:33: warning: ‘maxx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
long v[izbanda], suma=0, s, maxx;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 392kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 388kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 392kb | Time limit exceeded. | 0 |
| 7 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | Depăşit | 396kb | Time limit exceeded. | 0 |
| 9 | 0ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | Depăşit | 396kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |