Borderou de evaluare (job #2291562)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 28 noiembrie 2018 11:19:49
Problema Gather Status done
Runda simulare_11.28.2018 Compilator cpp-64 | Vezi sursa
Scor 100

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
114ms8519kbOK10
217ms8519kbOK10
317ms8650kbOK10
423ms8781kbOK10
539ms9306kbOK10
643ms9568kbOK10
755ms9699kbOK10
899ms10092kbOK10
9226ms10223kbOK10
10211ms10223kbOK10
Punctaj total100

Ceva nu functioneaza?