Pagini recente » Borderou de evaluare (job #1417858) | Borderou de evaluare (job #2662246) | Borderou de evaluare (job #2662240) | Borderou de evaluare (job #2630545) | Borderou de evaluare (job #1855354)
Borderou de evaluare (job #1855354)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf( "%d",y+extra );
^
user.cpp:18:15: warning: unused variable ‘sol’ [-Wunused-variable]
long long sol = 0, val = 0, extra = 0;
^
user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "ruksak.in", "r", stdin );
^
user.cpp:15:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "ruksak.out", "w", stdout );
^
user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d",&n,&G );
^
user.cpp:22:30: 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 |
Punctaj/grupa |
| 1 | 412ms | 1848kb | OK | 10 | 100 |
| 2 | 420ms | 2008kb | OK | 10 |
| 3 | 340ms | 1844kb | OK | 10 |
| 4 | 416ms | 2028kb | OK | 10 |
| 5 | 164ms | 2256kb | OK | 10 |
| 6 | 392ms | 1844kb | OK | 10 |
| 7 | 420ms | 2028kb | OK | 10 |
| 8 | 416ms | 1968kb | OK | 10 |
| 9 | 412ms | 1844kb | OK | 10 |
| 10 | 112ms | 2256kb | OK | 10 |
| Punctaj total | 100 |