Pagini recente » Cod sursa (job #2906233) | Cod sursa (job #457156) | Cod sursa (job #2217600) | Cod sursa (job #2754663) | Borderou de evaluare (job #2243361)
Borderou de evaluare (job #2243361)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:71: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=]
for(int i = 0; i < n; ++i) scanf("%f%f", &p[i].first, &p[i].second);
^
user.cpp:31:71: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=]
user.cpp:26:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adapost2.in", "r", stdin);
^
user.cpp:27:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adapost2.out", "w", stdout);
^
user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:31:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 0; i < n; ++i) scanf("%f%f", &p[i].first, &p[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1328kb | Raspuns complet gresit! | 0 |
2 | 0ms | 1320kb | Raspuns complet gresit! | 0 |
3 | 0ms | 1320kb | Raspuns complet gresit! | 0 |
4 | 0ms | 1320kb | Raspuns complet gresit! | 0 |
5 | 0ms | 1324kb | Raspuns complet gresit! | 0 |
6 | 0ms | 1320kb | Raspuns complet gresit! | 0 |
7 | 4ms | 1320kb | Raspuns complet gresit! | 0 |
8 | 12ms | 1328kb | Raspuns complet gresit! | 0 |
9 | 16ms | 1328kb | Raspuns complet gresit! | 0 |
10 | 20ms | 1328kb | Raspuns complet gresit! | 0 |
11 | 24ms | 1328kb | Raspuns complet gresit! | 0 |
12 | 32ms | 1332kb | Raspuns complet gresit! | 0 |
13 | 92ms | 1368kb | Raspuns complet gresit! | 0 |
14 | 140ms | 1388kb | Raspuns complet gresit! | 0 |
15 | Depăşit | 1664kb | Time limit exceeded. | 0 |
16 | Depăşit | 1552kb | Time limit exceeded. | 0 |
17 | Depăşit | 1860kb | Time limit exceeded. | 0 |
18 | Depăşit | 1944kb | Time limit exceeded. | 0 |
19 | Depăşit | 2096kb | Time limit exceeded. | 0 |
20 | Depăşit | 2096kb | Time limit exceeded. | 0 |
Punctaj total | 0 |