Borderou de evaluare (job #1503981)

Utilizator OFY4Ahmed Hamza Aydin OFY4 Data 17 octombrie 2015 10:18:10
Problema Modulo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:21: warning: use of ‘ll’ length modifier with ‘g’ type character [-Wformat=] scanf("%llg", &A); ^ user.cpp:13:21: warning: use of ‘ll’ length modifier with ‘g’ type character [-Wformat=] scanf("%llg", &B); ^ user.cpp:16:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<B;++i){ ^ user.cpp:23:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%d", B); ^ user.cpp:5:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("modulo.in", "r", stdin); ^ user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("modulo.out", "w", stdout); ^ user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%llg", &A); ^ user.cpp:13:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%llg", &B); ^ user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &C); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit272kbTime limit exceeded.0
2Depăşit276kbTime limit exceeded.0
3Depăşit276kbTime limit exceeded.0
4Depăşit280kbTime limit exceeded.0
5Depăşit272kbTime limit exceeded.0
6Depăşit276kbTime limit exceeded.0
7Depăşit280kbTime limit exceeded.0
8Depăşit280kbTime limit exceeded.0
9Depăşit280kbTime limit exceeded.0
10Depăşit276kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?