Borderou de evaluare (job #1949321)

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

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
1108msDepăşitMemory limit exceeded.00
2104msDepăşitMemory limit exceeded.00
3104msDepăşitMemory limit exceeded.00
4108msDepăşitMemory limit exceeded.00
5108msDepăşitMemory limit exceeded.00
6108msDepăşitMemory limit exceeded.00
7108msDepăşitMemory limit exceeded.00
8108msDepăşitMemory limit exceeded.00
9108msDepăşitMemory limit exceeded.0
10108msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?