Pagini recente » Borderou de evaluare (job #779686) | Borderou de evaluare (job #2435884) | Borderou de evaluare (job #2113556) | Borderou de evaluare (job #2919416) | Borderou de evaluare (job #1910808)
Borderou de evaluare (job #1910808)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d%d", &bag[i], &bil[i]);
^
user.cpp:28:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:26:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:28:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &bag[i], &bil[i]);
^
user.cpp:29:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &k, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Incorect | 0 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 300kb | Incorect | 0 |
5 | 0ms | 300kb | Incorect | 0 |
6 | 4ms | 300kb | Incorect | 0 |
7 | 0ms | 304kb | Incorect | 0 |
8 | 0ms | 288kb | Incorect | 0 |
9 | 0ms | 300kb | OK | 10 |
10 | 4ms | 304kb | Incorect | 0 |
Punctaj total | 20 |