Pagini recente » Borderou de evaluare (job #963914) | Borderou de evaluare (job #2630122) | Borderou de evaluare (job #2784512) | Borderou de evaluare (job #2002176) | Borderou de evaluare (job #1497236)
Borderou de evaluare (job #1497236)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:12: warning: unused variable ‘p’ [-Wunused-variable]
int i, p, ch, rez;
^
user.cpp:16: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:17: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:21:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
user.cpp:22:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
/tmp/cchTLNOJ.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 | 276kb | OK | 10 |
2 | 0ms | 248kb | OK | 10 |
3 | 0ms | 304kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 4ms | 676kb | OK | 10 |
6 | 8ms | 944kb | OK | 10 |
7 | 8ms | 944kb | OK | 10 |
8 | 8ms | 940kb | OK | 10 |
9 | 8ms | 944kb | OK | 10 |
10 | 8ms | 944kb | OK | 10 |
Punctaj total | 100 |