Pagini recente » Cod sursa (job #3206293) | Cod sursa (job #2447309) | Cod sursa (job #1827953) | Cod sursa (job #2887423) | Borderou de evaluare (job #2014781)
Borderou de evaluare (job #2014781)
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/ccEUByqg.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 | 496kb | OK | 10 |
2 | 4ms | 2132kb | OK | 10 |
3 | 24ms | 9916kb | OK | 10 |
4 | 152ms | 62016kb | OK | 10 |
5 | Depăşit | 89476kb | Time limit exceeded. | 0 |
6 | Depăşit | 79312kb | Time limit exceeded. | 0 |
7 | Depăşit | 60968kb | Time limit exceeded. | 0 |
8 | Depăşit | 60308kb | Time limit exceeded. | 0 |
9 | Depăşit | 58984kb | Time limit exceeded. | 0 |
10 | Depăşit | 61628kb | Time limit exceeded. | 0 |
Punctaj total | 40 |