Pagini recente » Borderou de evaluare (job #2445956) | Borderou de evaluare (job #1251879) | Borderou de evaluare (job #191950) | Borderou de evaluare (job #802734) | Borderou de evaluare (job #1647179)
Borderou de evaluare (job #1647179)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:113:21: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%i\n", best);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsubsum.in", "r", stdin);
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsubsum.out", "w", stdout);
^
user.cpp:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &N);
^
user.cpp:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &M);
^
user.cpp:20:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", vec1 + i);
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", vec2 + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 40ms | 448kb | Incorect | 0 | 0 |
2 | 44ms | 448kb | Incorect | 0 |
3 | 44ms | 448kb | Incorect | 0 |
4 | 40ms | 448kb | Incorect | 0 |
5 | 44ms | 448kb | Incorect | 0 |
6 | 48ms | 452kb | Incorect | 0 |
7 | 40ms | 448kb | Incorect | 0 |
8 | 40ms | 448kb | Incorect | 0 |
9 | 44ms | 444kb | Incorect | 0 |
10 | 40ms | 452kb | Incorect | 0 |
Punctaj total | 0 |