Pagini recente » Borderou de evaluare (job #2001288) | Borderou de evaluare (job #945928) | Borderou de evaluare (job #1386803) | Borderou de evaluare (job #1209969) | Borderou de evaluare (job #2028176)
Borderou de evaluare (job #2028176)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.in","r",stdin);
^
user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii.out","w",stdout);
^
user.cpp:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:47:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c);
^
/tmp/ccYu9RLg.o: In function `main':
user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 12ms | 280kb | OK | 10 |
6 | 16ms | 288kb | OK | 10 |
7 | 72ms | 284kb | OK | 10 |
8 | 100ms | 284kb | OK | 10 |
9 | 80ms | 284kb | OK | 10 |
10 | 92ms | 284kb | OK | 10 |
Punctaj total | 100 |