Pagini recente » Borderou de evaluare (job #698204) | Borderou de evaluare (job #2425968) | Borderou de evaluare (job #795759) | Borderou de evaluare (job #1254446) | Borderou de evaluare (job #2291557)
Borderou de evaluare (job #2291557)
Raport evaluator
Compilare:
main.cpp: In function 'void read()':
main.cpp:92:33: warning: format '%u' expects argument of type 'unsigned int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%u %u %u", &k, &n, &m);
^
main.cpp:92:33: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:92:33: warning: format '%u' expects argument of type 'unsigned int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:96:23: warning: format '%u' expects argument of type 'unsigned int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%u", &x),
^
main.cpp:111:52: warning: format '%u' expects argument of type 'unsigned int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%u %u %u %u", &e.x, &e.y, &e.c, &e.d);
^
main.cpp:111:52: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:111:52: warning: format '%u' expects argument of type 'unsigned int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:111:52: warning: format '%u' expects argument of type 'unsigned int*', but argument 5 has type 'long long int*' [-Wformat=]
main.cpp: In function 'void solve()':
main.cpp:146:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (p = 0; p < V[x].size(); ++ p)
~~^~~~~~~~~~~~~
main.cpp: In function 'void write()':
main.cpp:196:21: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long long int' [-Wformat=]
printf("%u", sol);
^
main.cpp: In function 'void read()':
main.cpp:90:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("gather.in", "r", stdin);
^
main.cpp:92:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%u %u %u", &k, &n, &m);
^
main.cpp:102:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
w[i] = x;
^
main.cpp:111:53: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%u %u %u %u", &e.x, &e.y, &e.c, &e.d);
^
main.cpp: In function 'void write()':
main.cpp:190:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("gather.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 14ms | 8519kb | OK | 10 |
2 | 17ms | 8519kb | OK | 10 |
3 | 17ms | 8519kb | OK | 10 |
4 | 23ms | 8781kb | OK | 10 |
5 | 39ms | 9306kb | OK | 10 |
6 | 42ms | 9568kb | OK | 10 |
7 | 55ms | 9699kb | OK | 10 |
8 | 91ms | 10092kb | OK | 10 |
9 | 223ms | 10223kb | OK | 10 |
10 | 189ms | 10223kb | OK | 10 |
Punctaj total | 100 |