Borderou de evaluare (job #1877815)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 13 februarie 2017 18:57:57
Problema Dlog Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:62:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dlog.in","r",stdin); ^ user.cpp:63:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dlog.out","w",stdout); ^ user.cpp:66:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d", &tests); tests; --tests) { ^ user.cpp:68:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &mod, &proot, &x); ^ user.cpp: In function ‘int get_pow(int, int, int)’: user.cpp:40:40: warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized] int sqrt = get_sqrt(mod); int val, res; ^ user.cpp:8:17: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized] return (1LL * a * b) % mod; ^ user.cpp:40:35: note: ‘val’ was declared here int sqrt = get_sqrt(mod); int val, res; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms428kbOK10
216ms464kbOK10
30ms432kbOK10
420ms432kbOK10
5352ms464kbOK10
6144ms440kbOK10
7356ms460kbOK10
8Depăşit464kbTime limit exceeded.0
9356ms464kbOK10
10356ms460kbOK10
Punctaj total90

Ceva nu functioneaza?