Pagini recente » Borderou de evaluare (job #2550971) | Borderou de evaluare (job #2957532) | Borderou de evaluare (job #3149370) | Borderou de evaluare (job #1316605) | Borderou de evaluare (job #1496982)
Borderou de evaluare (job #1496982)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
u1[ a[i] ]++;
^
user.cpp:26:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
u2[ b[i] ]++;
^
user.cpp:14: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:15: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:20:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1); gets(b + 1);
^
user.cpp:20:29: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1); gets(b + 1);
^
/tmp/ccHztgio.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 | 260kb | OK | 10 |
2 | 0ms | 224kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 376kb | OK | 10 |
5 | 4ms | 560kb | OK | 10 |
6 | 36ms | 752kb | OK | 10 |
7 | 12ms | 760kb | OK | 10 |
8 | Depăşit | 676kb | Time limit exceeded. | 0 |
9 | 20ms | 752kb | OK | 10 |
10 | Depăşit | 808kb | Time limit exceeded. | 0 |
Punctaj total | 80 |