Pagini recente » Borderou de evaluare (job #103869) | Borderou de evaluare (job #411084) | Borderou de evaluare (job #80846) | Borderou de evaluare (job #1186615) | Borderou de evaluare (job #1568295)
Borderou de evaluare (job #1568295)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40: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:41: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:43:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:44:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccZG1RFV.o: In function `main':
user.cpp:(.text.startup+0x6e): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 452kb | OK! | 10 |
2 | 0ms | 456kb | OK! | 10 |
3 | 0ms | 456kb | OK! | 10 |
4 | 4ms | 468kb | OK! | 10 |
5 | 28ms | 940kb | OK! | 10 |
6 | 56ms | 684kb | OK! | 10 |
7 | 96ms | 828kb | OK! | 10 |
8 | 148ms | 1004kb | OK! | 10 |
9 | 44ms | 836kb | OK! | 10 |
10 | 92ms | 1216kb | OK! | 10 |
Punctaj total | 100 |