Pagini recente » Borderou de evaluare (job #457685) | Borderou de evaluare (job #1661388) | Borderou de evaluare (job #1644885) | Borderou de evaluare (job #1670060) | Borderou de evaluare (job #1553062)
Borderou de evaluare (job #1553062)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("aib.in" , "r" , stdin);
^
user.cpp:39:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("aib.out" , "w" , stdout);
^
user.cpp:41:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d" , &n , &m);
^
user.cpp:43:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d" , &x) , Update(x , i);
^
user.cpp:46:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d" , &type);
^
user.cpp:48:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d" , &a , &b) , Update(b , a);
^
user.cpp:51:80: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d" , &a , &b) , printf ("%d\n" , Sum(b) - Sum(a-1));
^
user.cpp:54:67: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d" , &ans) , printf ("%d\n" , P(ans));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 8ms | 296kb | OK | 10 |
4 | 32ms | 380kb | OK | 10 |
5 | 76ms | 412kb | OK | 10 |
6 | 120ms | 536kb | OK | 10 |
7 | 128ms | 608kb | OK | 10 |
8 | 192ms | 664kb | OK | 10 |
9 | 188ms | 664kb | OK | 10 |
10 | 188ms | 664kb | OK | 10 |
Punctaj total | 100 |