Pagini recente » Borderou de evaluare (job #1253855) | Borderou de evaluare (job #1472206) | Borderou de evaluare (job #2291506) | Borderou de evaluare (job #2654641) | Borderou de evaluare (job #1464285)
Borderou de evaluare (job #1464285)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (in, "%d", &n);
^
user.cpp:14:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (in, "%d", &v[i]);
^
user.cpp:79:19: warning: ‘d’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (f + d > profit3 + profit4)
^
user.cpp:79:19: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:98:70: warning: ‘sol3’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf (out, "%d\n%d %d %d", maxim, sol1 + 1, sol2 + 1, sol3 + 1);
^
user.cpp:98:70: warning: ‘sol2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:98:70: warning: ‘sol1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 280kb | Incorect | 0 |
5 | 0ms | 284kb | Incorect | 0 |
6 | 88ms | 340kb | OK | 10 |
7 | 164ms | 356kb | OK | 10 |
8 | Depăşit | 340kb | Time limit exceeded. | 0 |
9 | Depăşit | 344kb | Time limit exceeded. | 0 |
10 | Depăşit | 340kb | Time limit exceeded. | 0 |
Punctaj total | 50 |