Pagini recente » Borderou de evaluare (job #573124) | Borderou de evaluare (job #661181) | Borderou de evaluare (job #1909848) | Borderou de evaluare (job #1202971) | Borderou de evaluare (job #1206707)
Borderou de evaluare (job #1206707)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (dp[j] != i + 1 && dp[j] != 0)
^
user.cpp:28:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (dp[j + v[i]] <= sum / 2)
^
user.cpp:40:46: warning: operation on ‘nr2’ may be undefined [-Wsequence-point]
if (nr1 > nr2) nr1 = nr1 + nr2 - (nr2 = nr1);
^
user.cpp:41:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int*’ [-Wformat=]
fprintf(g, "%d %d", &nr1, &nr2);
^
user.cpp:41:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:13:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &n);
^
user.cpp:16:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 248kb | Incorect | 0 | 0 |
2 | 0ms | 248kb | Incorect | 0 |
3 | 0ms | 252kb | Incorect | 0 |
4 | 4ms | 280kb | Incorect | 0 |
5 | 24ms | 320kb | Incorect | 0 | 0 |
6 | 0ms | 248kb | Incorect | 0 |
7 | 40ms | 336kb | Incorect | 0 |
8 | 8ms | 292kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 | 0 |
10 | Depăşit | 364kb | Time limit exceeded. | 0 |
Punctaj total | 0 |