Pagini recente » Borderou de evaluare (job #942615) | Borderou de evaluare (job #1789460) | Borderou de evaluare (job #2040957) | Borderou de evaluare (job #2683874) | Borderou de evaluare (job #1265407)
Borderou de evaluare (job #1265407)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9: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:10: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:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:12:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccHJFNek.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 | 268kb | OK! | 10 |
2 | 0ms | 668kb | OK! | 10 |
3 | 0ms | 1268kb | OK! | 10 |
4 | 4ms | 1344kb | OK! | 10 |
5 | 68ms | 1756kb | OK! | 10 |
6 | 48ms | 1876kb | OK! | 10 |
7 | 76ms | 2324kb | OK! | 10 |
8 | 104ms | 2752kb | OK! | 10 |
9 | 32ms | 1680kb | OK! | 10 |
10 | 60ms | 2060kb | OK! | 10 |
Punctaj total | 100 |