Pagini recente » Borderou de evaluare (job #1312186) | Borderou de evaluare (job #1765298) | Borderou de evaluare (job #1095675) | Borderou de evaluare (job #2910691) | Borderou de evaluare (job #1762077)
Borderou de evaluare (job #1762077)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if( N-sum+K > 0 ) printf("%d ",N-sum+K);
^
user.cpp:8:15: warning: unused variable ‘tmp’ [-Wunused-variable]
int i,j,N,tmp;
^
user.cpp:5:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.in","r",stdin);
^
user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("farfurii.out","w",stdout);
^
user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %lld",&N,&K);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK! | 10 |
| 2 | 0ms | 276kb | OK! | 10 |
| 3 | 0ms | 272kb | OK! | 10 |
| 4 | 0ms | 272kb | OK! | 10 |
| 5 | 0ms | 276kb | OK! | 10 |
| 6 | 0ms | 268kb | OK! | 10 |
| 7 | 4ms | 272kb | OK! | 10 |
| 8 | 8ms | 276kb | OK! | 10 |
| 9 | 16ms | 268kb | OK! | 10 |
| 10 | 24ms | 272kb | OK! | 10 |
| Punctaj total | 100 |