Pagini recente » Borderou de evaluare (job #1137023) | Borderou de evaluare (job #2079434) | Borderou de evaluare (job #1337203) | Borderou de evaluare (job #2259750) | Borderou de evaluare (job #1586673)
Borderou de evaluare (job #1586673)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:96:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mstack.in","r",stdin);
^
user.cpp:97:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mstack.out","w",stdout);
^
user.cpp:99:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:101:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(word);
^
/tmp/cc5kLKv2.o: In function `main':
user.cpp:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK! | 10 |
2 | 0ms | 268kb | OK! | 10 |
3 | 0ms | 268kb | OK! | 10 |
4 | 0ms | 272kb | OK! | 10 |
5 | 8ms | 272kb | OK! | 10 |
6 | 36ms | 264kb | OK! | 10 |
7 | 100ms | 268kb | OK! | 10 |
8 | 344ms | 264kb | OK! | 10 |
9 | 608ms | 272kb | OK! | 10 |
10 | 752ms | 264kb | OK! | 10 |
Punctaj total | 100 |