Pagini recente » Borderou de evaluare (job #2820120) | Borderou de evaluare (job #3288971) | Borderou de evaluare (job #1283073) | Cod sursa (job #1237861) | Borderou de evaluare (job #2148391)
Borderou de evaluare (job #2148391)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:182:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘std::vector<std::pair<int, int> >::size_type {aka long unsigned int}’ [-Wformat=]
printf("%d\n", e.size());
^
user.cpp:167:9: warning: variable ‘id’ set but not used [-Wunused-but-set-variable]
int id = 0;
^
user.cpp:151:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sabotaj.in", "r", stdin);
^
user.cpp:152:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sabotaj.out", "w", stdout);
^
user.cpp:156:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:160:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1956kb | Raspuns corect. Felicitari! | 10 |
| 2 | 0ms | 1964kb | Raspuns corect. Felicitari! | 10 |
| 3 | 0ms | 1960kb | Raspuns corect. Felicitari! | 10 |
| 4 | 4ms | 2020kb | Raspuns corect. Felicitari! | 10 |
| 5 | 16ms | 2080kb | Raspuns corect. Felicitari! | 10 |
| 6 | 12ms | 2160kb | Raspuns corect. Felicitari! | 10 |
| 7 | 68ms | 2264kb | Raspuns corect. Esti tare! | 10 |
| 8 | 152ms | 2508kb | Raspuns corect. Esti tare! | 10 |
| 9 | 44ms | 2252kb | Raspuns corect. Esti tare! | 10 |
| 10 | 204ms | 2552kb | Raspuns corect. Esti tare! | 10 |
| Punctaj total | 100 |