Pagini recente » Borderou de evaluare (job #365841) | Borderou de evaluare (job #1446075) | Borderou de evaluare (job #1302750) | Borderou de evaluare (job #1773567) | Borderou de evaluare (job #2041024)
Borderou de evaluare (job #2041024)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:35: 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:24:37: 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:28:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:30:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccaV1gpW.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 | 4ms | 2608kb | OK! | 10 |
2 | 4ms | 2608kb | OK! | 10 |
3 | 8ms | 2608kb | OK! | 10 |
4 | 12ms | 2620kb | OK! | 10 |
5 | 12ms | 3096kb | OK! | 10 |
6 | 36ms | 2808kb | OK! | 10 |
7 | 56ms | 2952kb | OK! | 10 |
8 | 76ms | 3092kb | OK! | 10 |
9 | 36ms | 2740kb | OK! | 10 |
10 | 60ms | 2864kb | OK! | 10 |
Punctaj total | 100 |