Pagini recente » Monitorul de evaluare | Cod sursa (job #2345393) | Cod sursa (job #787983) | Monitorul de evaluare | Borderou de evaluare (job #1715126)
Borderou de evaluare (job #1715126)
Raport evaluator
Compilare:
user.cpp: In function ‘double tg(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:61:20: 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:76:23: note: in expansion of macro ‘INF’
mini.x = mini.y = INF;
^
user.cpp:72: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:73: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:74:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:78: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 | Corect | 10 |
| 2 | 0ms | 504kb | Corect | 10 |
| 3 | 36ms | 784kb | Corect | 10 |
| 4 | 36ms | 784kb | Corect | 10 |
| 5 | 36ms | 784kb | Corect | 10 |
| 6 | 256ms | 2396kb | Corect | 10 |
| 7 | 256ms | 2392kb | Corect | 10 |
| 8 | 256ms | 2396kb | Corect | 10 |
| 9 | 256ms | 2400kb | Corect | 10 |
| 10 | 260ms | 2396kb | Corect | 10 |
| Punctaj total | 100 |