Pagini recente » Borderou de evaluare (job #3043178) | Borderou de evaluare (job #322673) | Borderou de evaluare (job #1278159) | Borderou de evaluare (job #148941) | Borderou de evaluare (job #1494829)
Borderou de evaluare (job #1494829)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31: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:32: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:34:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); gets(b+1); n = strlen(a+1); m = strlen(b+1);
^
user.cpp:34:25: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); gets(b+1); n = strlen(a+1); m = strlen(b+1);
^
/tmp/ccxFQYWN.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 | 436kb | OK | 10 |
2 | 0ms | 416kb | OK | 10 |
3 | 0ms | 472kb | OK | 10 |
4 | 0ms | 468kb | OK | 10 |
5 | 4ms | 856kb | OK | 10 |
6 | Depăşit | 1084kb | Time limit exceeded. | 0 |
7 | 8ms | 1104kb | OK | 10 |
8 | 20ms | 1104kb | OK | 10 |
9 | 8ms | 1108kb | OK | 10 |
10 | 8ms | 1104kb | OK | 10 |
Punctaj total | 90 |