Borderou de evaluare (job #1648423)
Raport evaluator
Compilare:
user.cpp: In function ‘double tg(const std::pair<double, double>&)’:
user.cpp:8:22: warning: integer overflow in expression [-Woverflow]
#define INF ((1<<31)-1)
^
user.cpp:59:20: note: in expansion of macro ‘INF’
return INF;
^
user.cpp:8:22: warning: integer overflow in expression [-Woverflow]
#define INF ((1<<31)-1)
^
user.cpp:60:16: note: in expansion of macro ‘INF’
return INF-1;
^
user.cpp: In function ‘void citire()’:
user.cpp:8:22: warning: integer overflow in expression [-Woverflow]
#define INF ((1<<31)-1)
^
user.cpp:75:23: note: in expansion of macro ‘INF’
mini.x = mini.y = INF;
^
user.cpp:71:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.in", "rt", stdin);
^
user.cpp:72:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.out", "wt", stdout);
^
user.cpp:73:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:77:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 504kb | Numar de puncte incorect | 0 |
2 | 0ms | 504kb | Numar de puncte incorect | 0 |
3 | 56ms | 784kb | Numar de puncte incorect | 0 |
4 | 40ms | 784kb | Numar de puncte incorect | 0 |
5 | 40ms | 784kb | Numar de puncte incorect | 0 |
6 | 256ms | 2380kb | Corect | 10 |
7 | 260ms | 2380kb | Corect | 10 |
8 | 256ms | 2380kb | Corect | 10 |
9 | 280ms | 2376kb | Numar de puncte incorect | 0 |
10 | 288ms | 2376kb | Numar de puncte incorect | 0 |
Punctaj total | 30 |