Pagini recente » Borderou de evaluare (job #1943912) | Borderou de evaluare (job #3179932) | Borderou de evaluare (job #2496007) | Borderou de evaluare (job #2113409) | Borderou de evaluare (job #1933473)
Borderou de evaluare (job #1933473)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fin, "%d%d", &pret[i], &cant[i]);
^
user.cpp:14:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:11:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &n, &s, &t); t++;
^
user.cpp:14:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &pret[i], &cant[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 30 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 336kb | OK | 10 |
4 | 28ms | 1068kb | OK | 10 | 30 |
5 | 48ms | 1540kb | OK | 10 |
6 | 56ms | 1696kb | OK | 10 |
7 | 60ms | 1828kb | OK | 10 | 10 |
8 | 60ms | 1828kb | OK | 10 | 10 |
9 | 60ms | 1828kb | OK | 10 | 10 |
10 | 60ms | 1828kb | OK | 10 | 10 |
Punctaj total | 100 |