Pagini recente » Borderou de evaluare (job #1377134) | Borderou de evaluare (job #2607209) | Borderou de evaluare (job #487349) | Borderou de evaluare (job #1057880) | Borderou de evaluare (job #1814130)
Borderou de evaluare (job #1814130)
Raport evaluator
Compilare:
user.cpp: In function ‘void ReadVariables()’:
user.cpp:43:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &n);
^
user.cpp:47:45: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1), L = strlen (sir + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:146:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("eval.in", "r", stdin);
^
user.cpp:147:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("eval.out", "w", stdout);
^
user.cpp:151:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir + 1);
^
/tmp/ccwlQ5xK.o: In function `ReadVariables()':
user.cpp:(.text+0x2a9): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 468kb | Incorect | 0 |
2 | 24ms | 472kb | Incorect | 0 |
3 | 20ms | 476kb | Incorect | 0 |
4 | 232ms | 1844kb | Incorect | 0 |
5 | 152ms | 532kb | Incorect | 0 |
6 | 132ms | 500kb | Incorect | 0 |
7 | 164ms | 516kb | Incorect | 0 |
8 | 328ms | 592kb | Incorect | 0 |
9 | 304ms | 592kb | Incorect | 0 |
10 | 336ms | 592kb | Incorect | 0 |
Punctaj total | 0 |