Borderou de evaluare (job #1268036)

Utilizator Athena99Anghel Anca Athena99 Data 20 noiembrie 2014 16:19:57
Problema Puteri35 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘i64* {aka long long int*}’ [-Wformat=] scanf("%d", &n); ^ user.cpp:18:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘i64 {aka long long int}’ [-Wformat=] printf("%d\n", t); ^ user.cpp:29:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘i64 {aka long long int}’ [-Wformat=] printf("%d\n", c); ^ user.cpp:43:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘i64 {aka long long int}’ [-Wformat=] printf("%d\n", c); ^ user.cpp:11:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "puteri35.in", "r", stdin ); ^ user.cpp:12:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "puteri35.out", "w", stdout ); ^ user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit252kbTime limit exceeded.0
2Depăşit248kbTime limit exceeded.0
3Depăşit252kbTime limit exceeded.0
4Depăşit248kbTime limit exceeded.0
5Depăşit252kbTime limit exceeded.0
6Depăşit256kbTime limit exceeded.0
7Depăşit256kbTime limit exceeded.0
8Depăşit252kbTime limit exceeded.0
9Depăşit252kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?