Pagini recente » Borderou de evaluare (job #2601338) | Borderou de evaluare (job #1624273) | Borderou de evaluare (job #857922) | Borderou de evaluare (job #1494837)
Borderou de evaluare (job #1494837)
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/ccHgQAww.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 | 392kb | OK | 10 |
3 | 8ms | 440kb | OK | 10 |
4 | 0ms | 440kb | OK | 10 |
5 | 4ms | 716kb | OK | 10 |
6 | 24ms | 896kb | OK | 10 |
7 | 4ms | 896kb | OK | 10 |
8 | 12ms | 900kb | OK | 10 |
9 | 4ms | 892kb | OK | 10 |
10 | 4ms | 900kb | OK | 10 |
Punctaj total | 100 |