Pagini recente » Borderou de evaluare (job #1713822) | Borderou de evaluare (job #1974361) | Borderou de evaluare (job #2292454) | Borderou de evaluare (job #2587570) | Borderou de evaluare (job #1451685)
Borderou de evaluare (job #1451685)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%ld", &N);
^
user.cpp:78:42: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%ld %ld", &P[i].x, &P[i].y);
^
user.cpp:78:42: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:85:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%ld", &M);
^
user.cpp:87:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%ld %ld %ld %ld", &x1, &y1, &x2, &y2);
^
user.cpp:87:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:87:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=]
user.cpp:87:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 6 has type ‘int*’ [-Wformat=]
user.cpp:101:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(fout, "%ld\n", sol);
^
user.cpp:75:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld", &N);
^
user.cpp:78:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld %ld", &P[i].x, &P[i].y);
^
user.cpp:85:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld", &M);
^
user.cpp:87:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%ld %ld %ld %ld", &x1, &y1, &x2, &y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | OK | 10 |
2 | 0ms | 284kb | Incorect | 0 |
3 | 0ms | 472kb | Incorect | 0 |
4 | 60ms | 3228kb | Incorect | 0 |
5 | 96ms | 3280kb | Incorect | 0 |
6 | 200ms | 3284kb | OK | 10 |
7 | 228ms | 3276kb | OK | 10 |
8 | 156ms | 3280kb | OK | 10 |
9 | 224ms | 3276kb | OK | 10 |
10 | 224ms | 3272kb | OK | 10 |
Punctaj total | 60 |