Pagini recente » Borderou de evaluare (job #1101377) | Borderou de evaluare (job #2803661) | Borderou de evaluare (job #2735423) | Borderou de evaluare (job #1056034) | Borderou de evaluare (job #2062932)
Borderou de evaluare (job #2062932)
Raport evaluator
Compilare:
user.cpp: In function ‘void vmax()’:
user.cpp:37:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
printf("%d %d", poz, s[poz]);
^
user.cpp:38:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf(" %d\n", fr[poz]);
^
user.cpp: In function ‘int main()’:
user.cpp:45:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cri.in", "r", stdin);
^
user.cpp:46:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cri.out", "w", stdout);
^
user.cpp:47:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &n, &m, &x, &y);
^
user.cpp:54:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 5 |
2 | 0ms | 272kb | OK | 5 |
3 | 12ms | 268kb | OK | 5 |
4 | 20ms | 268kb | OK | 5 |
5 | 56ms | 268kb | OK | 5 |
6 | 0ms | 268kb | OK | 5 |
7 | 0ms | 268kb | OK | 5 |
8 | 64ms | 268kb | OK | 5 |
9 | 0ms | 264kb | OK | 5 |
10 | 64ms | 268kb | OK | 5 |
11 | 0ms | 268kb | OK | 5 |
12 | 0ms | 272kb | OK | 5 |
13 | 0ms | 268kb | OK | 5 |
14 | 0ms | 272kb | OK | 5 |
15 | 20ms | 264kb | OK | 5 |
16 | 0ms | 268kb | OK | 5 |
17 | 12ms | 268kb | OK | 5 |
18 | 0ms | 264kb | OK | 5 |
19 | 64ms | 264kb | OK | 5 |
20 | 0ms | 268kb | OK | 5 |
Punctaj total | 100 |