Pagini recente » Borderou de evaluare (job #49463) | Borderou de evaluare (job #2871666) | Borderou de evaluare (job #426408) | Borderou de evaluare (job #610835) | Borderou de evaluare (job #1267603)
Borderou de evaluare (job #1267603)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
for(int i =0; i< n; i++) {fscanf(fin, "%d%d", &p[i].x, &p[i].y);p[i].x++;p[i].y--;}
^
user.cpp:21:67: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:19:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:21:68: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i =0; i< n; i++) {fscanf(fin, "%d%d", &p[i].x, &p[i].y);p[i].x++;p[i].y--;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 300kb | Incorect | 0 |
4 | 48ms | 1044kb | OK | 10 |
5 | 48ms | 1044kb | OK | 10 |
6 | 0ms | 296kb | Incorect | 0 |
7 | 28ms | 728kb | OK | 10 |
8 | 36ms | 888kb | OK | 10 |
9 | 44ms | 1032kb | OK | 10 |
10 | 44ms | 1048kb | Incorect | 0 |
Punctaj total | 70 |