Pagini recente » Borderou de evaluare (job #347908) | Borderou de evaluare (job #1882206) | Borderou de evaluare (job #3161374) | Cod sursa (job #909822) | Borderou de evaluare (job #1630089)
Borderou de evaluare (job #1630089)
Raport evaluator
Compilare:
user.cpp: In function ‘double tg(std::pair<double, double>)’:
user.cpp:9:21: warning: integer overflow in expression [-Woverflow]
#define Inf (1<<31)-1
^
user.cpp:27:20: note: in expansion of macro ‘Inf’
return Inf;
^
user.cpp:9:21: warning: integer overflow in expression [-Woverflow]
#define Inf (1<<31)-1
^
user.cpp:29:20: note: in expansion of macro ‘Inf’
return Inf-1;
^
user.cpp: In function ‘void citire()’:
user.cpp:9:21: warning: integer overflow in expression [-Woverflow]
#define Inf (1<<31)-1
^
user.cpp:46:19: note: in expansion of macro ‘Inf’
mini.second = Inf;
^
user.cpp:9:21: warning: integer overflow in expression [-Woverflow]
#define Inf (1<<31)-1
^
user.cpp:47:18: note: in expansion of macro ‘Inf’
mini.first = Inf;
^
user.cpp:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:49:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf %lf", &x, &y);
^
user.cpp: In function ‘int main()’:
user.cpp:69:43: 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:70:45: 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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 508kb | Corect | 10 |
2 | 0ms | 504kb | Corect | 10 |
3 | 36ms | 784kb | Corect | 10 |
4 | 36ms | 784kb | Corect | 10 |
5 | 40ms | 784kb | Corect | 10 |
6 | 260ms | 2392kb | Corect | 10 |
7 | 264ms | 2384kb | Corect | 10 |
8 | 260ms | 2388kb | Corect | 10 |
9 | 264ms | 2388kb | Corect | 10 |
10 | 260ms | 2388kb | Corect | 10 |
Punctaj total | 100 |