Pagini recente » Borderou de evaluare (job #2332566) | Borderou de evaluare (job #2692205) | Borderou de evaluare (job #1595120) | Borderou de evaluare (job #2393416) | Borderou de evaluare (job #1188212)
Borderou de evaluare (job #1188212)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:30: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘std::vector<int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%lu\n", v.size() - 1);
^
user.cpp:46:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size() - 1; i++)
^
user.cpp:24:6: warning: unused variable ‘num_phrases’ [-Wunused-variable]
int num_phrases = 0;
^
user.cpp:14:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nc.in", "r", stdin);
^
user.cpp:15:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nc.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | OK | 10 |
2 | 0ms | 244kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 252kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 4ms | 396kb | OK | 10 |
7 | 12ms | 600kb | OK | 10 |
8 | 20ms | 896kb | OK | 10 |
9 | 20ms | 1012kb | OK | 10 |
10 | 24ms | 1208kb | OK | 10 |
Punctaj total | 100 |