Pagini recente » Borderou de evaluare (job #2978088) | Borderou de evaluare (job #3188429) | Borderou de evaluare (job #1707118) | Borderou de evaluare (job #1613516) | Borderou de evaluare (job #2014859)
Borderou de evaluare (job #2014859)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59: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:60: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:63:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:67:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:76:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:78:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cci6MT32.o: In function `main':
user.cpp:(.text.startup+0xbf): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | OK | 10 |
2 | 4ms | 1960kb | OK | 10 |
3 | 24ms | 9188kb | OK | 10 |
4 | 152ms | 57700kb | OK | 10 |
5 | Depăşit | 117332kb | Time limit exceeded. | 0 |
6 | Depăşit | 109412kb | Time limit exceeded. | 0 |
7 | Depăşit | 120500kb | Time limit exceeded. | 0 |
8 | Depăşit | 114564kb | Time limit exceeded. | 0 |
9 | Depăşit | 116012kb | Time limit exceeded. | 0 |
10 | Depăşit | 115092kb | Time limit exceeded. | 0 |
Punctaj total | 40 |