Pagini recente » Borderou de evaluare (job #3250589) | Borderou de evaluare (job #989517) | Borderou de evaluare (job #3262591) | Borderou de evaluare (job #3248673) | Borderou de evaluare (job #1676787)
Borderou de evaluare (job #1676787)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:68:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in","r",stdin);
^
user.cpp:69:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out","w",stdout);
^
user.cpp:70:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:73:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:76:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
/tmp/ccVBbNlJ.o: In function `main':
user.cpp:(.text.startup+0x153): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 12ms | 444kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 56ms | 916kb | OK | 10 |
8 | 88ms | 1264kb | OK | 10 |
9 | 4ms | 328kb | OK | 10 |
10 | 4ms | 328kb | OK | 10 |
Punctaj total | 100 |