Borderou de evaluare (job #1492635)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:33: 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:33:35: 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:35:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a); gets(b); n = strlen(a); m = strlen(b);
^
user.cpp:35:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a); gets(b); n = strlen(a); m = strlen(b);
^
/tmp/ccUuptPT.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 416kb | OK | 10 |
2 | 0ms | 400kb | OK | 10 |
3 | 0ms | 440kb | OK | 10 |
4 | 0ms | 440kb | OK | 10 |
5 | 4ms | 816kb | OK | 10 |
6 | 44ms | 1072kb | OK | 10 |
7 | 4ms | 1076kb | OK | 10 |
8 | 12ms | 1084kb | OK | 10 |
9 | 4ms | 1076kb | OK | 10 |
10 | 4ms | 1072kb | OK | 10 |
Punctaj total | 100 |