Pagini recente » Borderou de evaluare (job #1920343) | Borderou de evaluare (job #2592240) | Borderou de evaluare (job #449671) | Borderou de evaluare (job #2145643) | Borderou de evaluare (job #1667731)
Borderou de evaluare (job #1667731)
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 | 500kb | Corect | 10 |
2 | 0ms | 500kb | Corect | 10 |
3 | 36ms | 784kb | Corect | 10 |
4 | 36ms | 784kb | Corect | 10 |
5 | 36ms | 784kb | Corect | 10 |
6 | 256ms | 2380kb | Corect | 10 |
7 | 260ms | 2384kb | Corect | 10 |
8 | 256ms | 2384kb | Corect | 10 |
9 | 256ms | 2380kb | Corect | 10 |
10 | 256ms | 2376kb | Corect | 10 |
Punctaj total | 100 |