Pagini recente » Borderou de evaluare (job #1512771) | Borderou de evaluare (job #2672521) | Autentificare | Borderou de evaluare (job #1535326) | Borderou de evaluare (job #1515101)
Borderou de evaluare (job #1515101)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:61:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:62:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:69:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + (i << 6));
^
user.cpp:81:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &q);
^
user.cpp:83:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(Q);
^
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:69:23:
/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/cciJY0FX.o: In function `main':
user.cpp:(.text.startup+0x81): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x14c): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 20ms | 348kb | OK | 10 |
| 2 | 4ms | 296kb | OK | 10 |
| 3 | 88ms | 14756kb | OK | 10 |
| 4 | 112ms | 14760kb | OK | 10 |
| 5 | 196ms | 28212kb | OK | 10 |
| 6 | 264ms | 41072kb | OK | 10 |
| 7 | 384ms | 53668kb | OK | 10 |
| 8 | Depăşit | 55184kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 55180kb | Time limit exceeded. | 0 |
| 10 | 88ms | 2388kb | OK | 10 |
| Punctaj total | 80 |