Pagini recente » Borderou de evaluare (job #2982228) | Borderou de evaluare (job #2001831) | Borderou de evaluare (job #1328169) | Borderou de evaluare (job #1069085) | Borderou de evaluare (job #1637313)
Borderou de evaluare (job #1637313)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.in","r",stdin);
^
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("muzeu.out","w",stdout);
^
user.cpp:39:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:42:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/ccGmDak7.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 0ms | 348kb | OK | 10 |
4 | 0ms | 396kb | OK | 10 |
5 | 8ms | 612kb | OK | 10 |
6 | 16ms | 708kb | OK | 10 |
7 | 16ms | 536kb | OK | 10 |
8 | 16ms | 676kb | OK | 10 |
9 | 16ms | 564kb | OK | 10 |
10 | 16ms | 780kb | OK | 10 |
Punctaj total | 100 |