Pagini recente » Borderou de evaluare (job #1258523) | Borderou de evaluare (job #1720404) | Borderou de evaluare (job #2977424) | Borderou de evaluare (job #2370896) | Borderou de evaluare (job #1494832)
Borderou de evaluare (job #1494832)
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);
^
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);
^
/tmp/ccsTbWqY.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 | 432kb | OK | 10 |
2 | 0ms | 404kb | OK | 10 |
3 | 0ms | 452kb | OK | 10 |
4 | 0ms | 456kb | OK | 10 |
5 | 4ms | 840kb | OK | 10 |
6 | 28ms | 1096kb | OK | 10 |
7 | 4ms | 1092kb | OK | 10 |
8 | 12ms | 1092kb | OK | 10 |
9 | 4ms | 1092kb | OK | 10 |
10 | 4ms | 1092kb | OK | 10 |
Punctaj total | 100 |