Pagini recente » Borderou de evaluare (job #1789666) | Borderou de evaluare (job #3126321) | Borderou de evaluare (job #2566706) | Borderou de evaluare (job #348627) | Borderou de evaluare (job #1916698)
Borderou de evaluare (job #1916698)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:15: warning: unused variable ‘m’ [-Wunused-variable]
int p, n, m, poz;
^
user.cpp:11:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.in", "r", stdin);
^
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.out", "w", stdout);
^
user.cpp:16:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &p, &n);
^
user.cpp:19:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:19:19:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccuD6Dwf.o: In function `main':
user.cpp:(.text.startup+0x7c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 452ms | 1076kb | OK. | 5 | 20 |
2 | 672ms | 1220kb | OK. | 5 |
3 | 0ms | 400kb | OK. | 5 |
4 | 80ms | 920kb | OK. | 5 |
5 | 0ms | 364kb | OK. | 3 | 3 |
6 | 104ms | 1088kb | OK. | 3 | 3 |
7 | 0ms | 316kb | OK. | 3 | 3 |
8 | 192ms | 788kb | OK. | 3 | 3 |
9 | Depăşit | 1224kb | Time limit exceeded. | 0 | 0 |
10 | 560ms | 1240kb | OK. | 4 | 4 |
11 | 824ms | 1136kb | OK. | 4 | 4 |
12 | 688ms | 1192kb | OK. | 4 | 4 |
13 | 724ms | 1216kb | OK. | 4 | 4 |
14 | 596ms | 1256kb | OK. | 5 | 5 |
15 | 640ms | 1248kb | OK. | 5 | 5 |
16 | 900ms | 1252kb | OK. | 5 | 5 |
17 | 784ms | 1232kb | OK. | 5 | 5 |
18 | 712ms | 1252kb | OK. | 5 | 5 |
19 | 772ms | 1252kb | OK. | 5 | 5 |
20 | Depăşit | 1244kb | Time limit exceeded. | 0 | 0 |
21 | Depăşit | 1236kb | Time limit exceeded. | 0 | 0 |
22 | 908ms | 1252kb | OK. | 6 | 6 |
Punctaj total | 84 |