Pagini recente » Borderou de evaluare (job #932395) | Borderou de evaluare (job #3120532) | Borderou de evaluare (job #1999222) | Borderou de evaluare (job #2184992) | Borderou de evaluare (job #1223699)
Borderou de evaluare (job #1223699)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.in","r",stdin);
^
user.cpp:27:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.out","w",stdout);
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:31:59: 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",&nr[i]),total+=nr[i];
^
user.cpp:35:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK! | 10 |
2 | 0ms | 260kb | OK! | 10 |
3 | 0ms | 288kb | OK! | 10 |
4 | 0ms | 296kb | OK! | 10 |
5 | 0ms | 308kb | OK! | 10 |
6 | 0ms | 336kb | OK! | 10 |
7 | 8ms | 380kb | OK! | 10 |
8 | 20ms | 412kb | OK! | 10 |
9 | 20ms | 420kb | OK! | 10 |
10 | 20ms | 412kb | OK! | 10 |
Punctaj total | 100 |