Pagini recente » Borderou de evaluare (job #1828241) | Borderou de evaluare (job #3224293) | Borderou de evaluare (job #2587861) | Borderou de evaluare (job #2813940) | Borderou de evaluare (job #1274953)
Borderou de evaluare (job #1274953)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle.in","r",stdin);
^
user.cpp:22:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("perle.out","w",stdout);
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:28:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;++i) scanf("%d",s+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK! | 10 |
2 | 0ms | 248kb | OK! | 10 |
3 | 0ms | 252kb | OK! | 10 |
4 | 0ms | 252kb | OK! | 10 |
5 | 0ms | 244kb | OK! | 10 |
6 | 0ms | 244kb | OK! | 10 |
7 | 0ms | 248kb | OK! | 10 |
8 | 4ms | 272kb | OK! | 10 |
9 | 4ms | 280kb | OK! | 10 |
10 | 12ms | 288kb | OK! | 10 |
Punctaj total | 100 |