Pagini recente » Borderou de evaluare (job #2794445) | Borderou de evaluare (job #2253617) | Borderou de evaluare (job #457106) | Borderou de evaluare (job #2519751) | Borderou de evaluare (job #1568199)
Borderou de evaluare (job #1568199)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:30: 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:12:32: 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:13:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:17:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
user.cpp:18:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (ch=='\n') scanf("%c",&ch);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 0ms | 364kb | OK | 10 |
4 | 4ms | 500kb | OK | 10 |
5 | 16ms | 912kb | OK | 10 |
6 | 24ms | 1188kb | OK | 10 |
7 | 28ms | 1188kb | OK | 10 |
8 | 28ms | 1192kb | OK | 10 |
9 | 28ms | 1272kb | OK | 10 |
10 | 28ms | 1268kb | OK | 10 |
Punctaj total | 100 |