Borderou de evaluare (job #1949323)

Utilizator vlcmodanModan Valentin vlcmodan Data 1 aprilie 2017 22:04:56
Problema Principiul includerii si excluderii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void initializare()’: user.cpp:16:6: warning: unused variable ‘sqr’ [-Wunused-variable] ull sqr = sqrt(N); ^ user.cpp: In function ‘long long unsigned int solve(long long unsigned int, long long unsigned int)’: user.cpp:60:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (y != 1 && index < d.size()) ^ user.cpp: In function ‘int main()’: user.cpp:91:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d", &t); ^ user.cpp:88:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pinex.in", "r", stdin); ^ user.cpp:89:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pinex.out", "w", stdout); ^ user.cpp:91:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:97:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%llu %llu", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
156ms9120kbOK1010
256ms9120kbOK1010
356ms9120kbOK1010
4700ms9124kbOK1010
5756ms9116kbOK1010
61180ms9116kbOK1010
7824ms9116kbOK1010
81128ms9120kbOK1030
91136ms9116kbOK10
101128ms9120kbOK10
Punctaj total100

Ceva nu functioneaza?