Pagini recente » Borderou de evaluare (job #1064001) | Borderou de evaluare (job #3243532) | Borderou de evaluare (job #1412403) | Borderou de evaluare (job #2962076) | Borderou de evaluare (job #2482017)
Borderou de evaluare (job #2482017)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:52:23: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", sol);
^
main.cpp:13:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("numarare.in", "r", stdin);
^
main.cpp:14:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("numarare.out", "w", stdout);
^
main.cpp:15:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:17:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 7ms | 262kb | OK | 10 |
4 | 8ms | 262kb | OK | 10 |
5 | 14ms | 393kb | OK | 10 |
6 | 32ms | 643kb | OK | 10 |
7 | 22ms | 786kb | OK | 10 |
8 | 45ms | 905kb | OK | 10 |
9 | 26ms | 917kb | OK | 10 |
10 | 56ms | 901kb | OK | 10 |
Punctaj total | 100 |