Pagini recente » Cod sursa (job #214305) | Cod sursa (job #509598) | Cod sursa (job #71522) | Cod sursa (job #1473667) | Borderou de evaluare (job #2014773)
Borderou de evaluare (job #2014773)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
user.cpp:55:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
user.cpp:58:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:63:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:79:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:83:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cccx0RTl.o: In function `main':
user.cpp:(.text.startup+0xd7): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 512kb | OK | 10 |
2 | 4ms | 2232kb | Incorect | 0 |
3 | 24ms | 10028kb | Incorect | 0 |
4 | 148ms | 62264kb | Incorect | 0 |
5 | Depăşit | 88420kb | Time limit exceeded. | 0 |
6 | Depăşit | 82612kb | Time limit exceeded. | 0 |
7 | Depăşit | 62152kb | Time limit exceeded. | 0 |
8 | Depăşit | 60964kb | Time limit exceeded. | 0 |
9 | Depăşit | 60304kb | Time limit exceeded. | 0 |
10 | Depăşit | 62148kb | Time limit exceeded. | 0 |
Punctaj total | 10 |