Pagini recente » Borderou de evaluare (job #1485871) | Borderou de evaluare (job #1720616) | Borderou de evaluare (job #1870752) | Borderou de evaluare (job #2393303) | Borderou de evaluare (job #2268148)
Borderou de evaluare (job #2268148)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'char*' [-Wformat=]
scanf("%d", &a[i][j]);
^
main.cpp:59:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < buckets[ndx].size(); ++i) {
~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:28:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.in", "r", stdin);
^
main.cpp:29:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.out", "w", stdout);
^
main.cpp:31:56: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d", &n, &m, &si, &sj, &di, &dj);
^
main.cpp:35:25: 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 | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 4ms | 262kb | OK | 10 |
4 | 6ms | 393kb | OK | 10 |
5 | 6ms | 393kb | OK | 10 |
6 | 29ms | 786kb | OK | 10 |
7 | 87ms | 1310kb | OK | 10 |
8 | 209ms | 1835kb | OK | 10 |
9 | 338ms | 2883kb | OK | 10 |
10 | 265ms | 2621kb | OK | 10 |
Punctaj total | 100 |