Borderou de evaluare (job #1910640)

Utilizator bciobanuBogdan Ciobanu bciobanu Data 7 martie 2017 17:45:05
Problema Euclid1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:105:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int64_t* {aka long long int*}’ [-Wformat=] scanf("%d", V + i); ^ user.cpp:99:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid1.in", "r", stdin); ^ user.cpp:100:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("euclid1.out", "w", stdout); ^ user.cpp:103:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &q); ^ user.cpp:105:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", V + i); ^ user.cpp:112:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &qType); ^ user.cpp:116:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ user.cpp:122:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms464kbOK10
28ms460kbOK10
3Depăşit688kbTime limit exceeded.0
4Depăşit760kbTime limit exceeded.0
5Depăşit840kbTime limit exceeded.0
6Depăşit956kbTime limit exceeded.0
7Depăşit1076kbTime limit exceeded.0
8Depăşit1072kbTime limit exceeded.0
9Depăşit1224kbTime limit exceeded.0
10Depăşit1224kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?