Pagini recente » Borderou de evaluare (job #1892795) | Borderou de evaluare (job #53914) | Borderou de evaluare (job #2045689) | Borderou de evaluare (job #893107) | Borderou de evaluare (job #1910901)
Borderou de evaluare (job #1910901)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29: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:29: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:29: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:33: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 | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 4ms | 296kb | OK | 10 |
7 | 0ms | 296kb | OK | 10 |
8 | 0ms | 284kb | OK | 10 |
9 | 4ms | 296kb | OK | 10 |
10 | 4ms | 296kb | OK | 10 |
Punctaj total | 100 |