Pagini recente » Borderou de evaluare (job #2376273) | Borderou de evaluare (job #1259675) | Borderou de evaluare (job #2420545) | Borderou de evaluare (job #2334886) | Borderou de evaluare (job #2545958)
Borderou de evaluare (job #2545958)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:66:30: 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", ans.size());
^
main.cpp:34:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("revolutie.in", "r", stdin);
^
main.cpp:35:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("revolutie.out", "w", stdout);
^
main.cpp:38:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:41:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Corect | 10 |
3 | 2ms | 131kb | Corect | 10 |
4 | 2ms | 131kb | Corect | 10 |
5 | 3ms | 131kb | Corect | 10 |
6 | 4ms | 131kb | Corect | 10 |
7 | 4ms | 131kb | Corect | 10 |
8 | 5ms | 262kb | Corect | 10 |
9 | 5ms | 262kb | Corect | 10 |
10 | 6ms | 262kb | Corect | 10 |
Punctaj total | 100 |