Pagini recente » Borderou de evaluare (job #3244894) | Borderou de evaluare (job #193111) | Borderou de evaluare (job #2852695) | Borderou de evaluare (job #145658) | Borderou de evaluare (job #1184505)
Borderou de evaluare (job #1184505)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.in","r",stdin);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out","w",stdout);
^
user.cpp:19:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n); n*=2;
^
user.cpp:20:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
/tmp/cc4N2wpC.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 464kb | OK | 10 |
6 | 4ms | 656kb | OK | 10 |
7 | 4ms | 1244kb | OK | 10 |
8 | 8ms | 1828kb | OK | 10 |
9 | 12ms | 2028kb | OK | 10 |
10 | 12ms | 2216kb | OK | 10 |
Punctaj total | 100 |