Pagini recente » Borderou de evaluare (job #1112086) | Borderou de evaluare (job #1445617) | Borderou de evaluare (job #1044663) | Borderou de evaluare (job #307412) | Borderou de evaluare (job #1527801)
Borderou de evaluare (job #1527801)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.in", "r", stdin);
^
user.cpp:36:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("swap.out", "w", stdout);
^
user.cpp:38:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:39:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
/tmp/cc8vEEiP.o: In function `main':
user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 384kb | Incorect | 0 |
2 | 0ms | 388kb | OK | 10 |
3 | 0ms | 412kb | Incorect | 0 |
4 | 0ms | 488kb | Incorect | 0 |
5 | 0ms | 584kb | Incorect | 0 |
6 | 0ms | 688kb | Incorect | 0 |
7 | 0ms | 704kb | Incorect | 0 |
8 | 0ms | 704kb | Incorect | 0 |
9 | 0ms | 696kb | Incorect | 0 |
10 | 0ms | 756kb | Incorect | 0 |
Punctaj total | 10 |