Pagini recente » Borderou de evaluare (job #2202307) | Borderou de evaluare (job #2932087) | Borderou de evaluare (job #1047761) | Borderou de evaluare (job #2260207) | Borderou de evaluare (job #1196572)
Borderou de evaluare (job #1196572)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dictree.in", "r", stdin);
^
user.cpp:39:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dictree.out", "w", stdout);
^
user.cpp:41:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &N);
^
user.cpp:44:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(x[i]);
^
In file included from /usr/include/stdio.h:934:0,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:44:13:
/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/ccIHhlPb.o: In function `main':
user.cpp:(.text.startup+0x77): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 64ms | 3108kb | OK | 10 | 100 |
2 | 40ms | 3004kb | OK | 10 |
3 | 0ms | 856kb | OK | 10 |
4 | 12ms | 1680kb | OK | 10 |
5 | 28ms | 3000kb | OK | 10 |
6 | 36ms | 3108kb | OK | 10 |
7 | 24ms | 3112kb | OK | 10 |
8 | 36ms | 3000kb | OK | 10 |
9 | 32ms | 3108kb | OK | 10 |
10 | 32ms | 3000kb | OK | 10 |
Punctaj total | 100 |