Pagini recente » Cod sursa (job #2767309) | Borderou de evaluare (job #2247654) | Cod sursa (job #2965152) | Cod sursa (job #2359047) | Borderou de evaluare (job #2014785)
Borderou de evaluare (job #2014785)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57: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:58: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:61:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:66:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:82:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:86:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccV8kdxN.o: In function `main':
user.cpp:(.text.startup+0xc5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 500kb | Incorect | 0 |
2 | 4ms | 2124kb | Incorect | 0 |
3 | 20ms | 9892kb | Incorect | 0 |
4 | 148ms | 61952kb | Incorect | 0 |
5 | Depăşit | 88948kb | Time limit exceeded. | 0 |
6 | Depăşit | 79448kb | Time limit exceeded. | 0 |
7 | Depăşit | 62284kb | Time limit exceeded. | 0 |
8 | Depăşit | 62152kb | Time limit exceeded. | 0 |
9 | Depăşit | 59244kb | Time limit exceeded. | 0 |
10 | Depăşit | 62944kb | Time limit exceeded. | 0 |
Punctaj total | 0 |