Pagini recente » Borderou de evaluare (job #288670) | Borderou de evaluare (job #456731) | Borderou de evaluare (job #2682163) | Borderou de evaluare (job #472203) | Borderou de evaluare (job #1265430)
Borderou de evaluare (job #1265430)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7: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:8: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:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:10:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccDAVJmA.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 | 2232kb | OK! | 10 |
2 | 0ms | 2232kb | OK! | 10 |
3 | 0ms | 2232kb | OK! | 10 |
4 | 4ms | 2304kb | OK! | 10 |
5 | 116ms | 4660kb | OK! | 10 |
6 | 48ms | 3208kb | OK! | 10 |
7 | 84ms | 3932kb | OK! | 10 |
8 | 120ms | 4656kb | OK! | 10 |
9 | 32ms | 2868kb | OK! | 10 |
10 | 64ms | 3508kb | Raspuns gresit! | 0 |
Punctaj total | 90 |