Pagini recente » Borderou de evaluare (job #1424777) | Borderou de evaluare (job #3206105) | Borderou de evaluare (job #1114105) | Borderou de evaluare (job #483009) | Borderou de evaluare (job #1265408)
Borderou de evaluare (job #1265408)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.in", "r", stdin);
^
user.cpp:22:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("string.out", "w", stdout);
^
user.cpp:23:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:24:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cclTKH5Y.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK! | 10 |
2 | 0ms | 296kb | OK! | 10 |
3 | 0ms | 308kb | OK! | 10 |
4 | 0ms | 372kb | OK! | 10 |
5 | 52ms | 832kb | OK! | 10 |
6 | 20ms | 1048kb | OK! | 10 |
7 | 40ms | 1716kb | OK! | 10 |
8 | 56ms | 1848kb | OK! | 10 |
9 | 12ms | 984kb | OK! | 10 |
10 | 28ms | 1628kb | OK! | 10 |
Punctaj total | 100 |