Pagini recente » Cod sursa (job #541802) | Cod sursa (job #2773290) | Cod sursa (job #335515) | Cod sursa (job #2973511) | Borderou de evaluare (job #2014774)
Borderou de evaluare (job #2014774)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56: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:57: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:60:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:65:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:81:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:85:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccJXdmqh.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 | 500kb | OK | 10 |
2 | 4ms | 2124kb | OK | 10 |
3 | 20ms | 9896kb | OK | 10 |
4 | 148ms | 61948kb | Incorect | 0 |
5 | Depăşit | 85392kb | Time limit exceeded. | 0 |
6 | Depăşit | 83408kb | Time limit exceeded. | 0 |
7 | Depăşit | 61632kb | Time limit exceeded. | 0 |
8 | Depăşit | 61764kb | Time limit exceeded. | 0 |
9 | Depăşit | 60312kb | Time limit exceeded. | 0 |
10 | Depăşit | 61360kb | Time limit exceeded. | 0 |
Punctaj total | 30 |