Pagini recente » Borderou de evaluare (job #2397343) | Borderou de evaluare (job #111854) | Borderou de evaluare (job #1427698) | Borderou de evaluare (job #981421) | Borderou de evaluare (job #1189275)
Borderou de evaluare (job #1189275)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:159:28: 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", wrong.size());
^
user.cpp:160:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < wrong.size(); i++)
^
user.cpp:136:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elicop.in", "r", stdin);
^
user.cpp:137:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elicop.out", "w", stdout);
^
user.cpp:140:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:143:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
user.cpp:147:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &num_helicopters);
^
user.cpp:150:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d", &l1, &c1, &l2, &c2, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Like a boss ! | 10 |
2 | 0ms | 288kb | Valoare incorecta cerinta 1 ! | 6 |
3 | 0ms | 292kb | Valoare incorecta cerinta 1 ! | 6 |
4 | 0ms | 296kb | Try again ! | 0 |
5 | 0ms | 292kb | Try again ! | 0 |
6 | 0ms | 288kb | Try again ! | 0 |
7 | 0ms | 316kb | Like a boss ! | 10 |
8 | 0ms | 316kb | Try again ! | 0 |
9 | 0ms | 320kb | Try again ! | 0 |
10 | 0ms | 320kb | Like a boss ! | 10 |
Punctaj total | 42 |