Borderou de evaluare (job #2440963)

Utilizator claudiu.gatinaFMI Claudiu Gatina claudiu.gatina Data 19 iulie 2019 17:05:14
Problema Por Costel si Azerah Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:37:56: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=] printf("%ld\n", power(nr[0] + nr[1] - (nr[1] > 0)) - 1); ^ main.cpp:27:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:33:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp: In function 'int main()': main.cpp:51:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("azerah.in", "r", stdin); ^ main.cpp:52:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("azerah.out", "w", stdout); ^ main.cpp:56:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1317ms131kbOK100
Punctaj total100

Ceva nu functioneaza?