Pagini recente » Cod sursa (job #3313402) | Borderou de evaluare (job #1661144) | Borderou de evaluare (job #978840) | Borderou de evaluare (job #1293587) | Borderou de evaluare (job #2019832)
Borderou de evaluare (job #2019832)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59: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:62:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(m[i]);
^
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:62:15:
/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/ccFat2NA.o: In function `main':
user.cpp:(.text.startup+0xd5): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 320kb | OK | 5 |
| 2 | 0ms | 344kb | OK | 5 |
| 3 | 0ms | 348kb | OK | 5 |
| 4 | 0ms | 344kb | OK | 5 |
| 5 | 0ms | 500kb | OK | 5 |
| 6 | 0ms | 500kb | OK | 5 |
| 7 | 0ms | 504kb | OK | 5 |
| 8 | 0ms | 500kb | OK | 5 |
| 9 | 28ms | 3596kb | Incorect | 0 |
| 10 | 40ms | 4040kb | Incorect | 0 |
| 11 | 36ms | 4036kb | Incorect | 0 |
| 12 | 44ms | 4244kb | Incorect | 0 |
| 13 | 44ms | 4240kb | Incorect | 0 |
| 14 | 36ms | 3336kb | Incorect | 0 |
| 15 | 40ms | 3476kb | Incorect | 0 |
| 16 | 44ms | 3824kb | Incorect | 0 |
| 17 | 48ms | 4244kb | Incorect | 0 |
| 18 | 48ms | 4244kb | Incorect | 0 |
| 19 | 52ms | 4196kb | Incorect | 0 |
| 20 | 44ms | 3948kb | Incorect | 0 |
| Punctaj total | 40 |