Borderou de evaluare (job #1365423)

Utilizator serban_ioan97Ciofu Serban serban_ioan97 Data 28 februarie 2015 11:53:34
Problema Hacker3 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 ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:19:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d", &a, &b); ^ user.cpp:19:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:30:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", minn); ^ user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.in", "rt", stdin); ^ user.cpp:13:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("hacker3.out", "wt", 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); ^ user.cpp:19:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms248kbIncorect00
20ms252kbIncorect00
30ms252kbIncorect00
40ms248kbIncorect00
50ms248kbIncorect00
60ms252kbIncorect00
70ms248kbIncorect00
80ms248kbIncorect00
912ms216kbKilled by signal 11(SIGSEGV).00
1012ms224kbKilled by signal 11(SIGSEGV).0
1112ms220kbKilled by signal 11(SIGSEGV).0
1212ms220kbKilled by signal 11(SIGSEGV).0
1312ms220kbKilled by signal 11(SIGSEGV).0
1412ms224kbKilled by signal 11(SIGSEGV).0
15124ms224kbKilled by signal 11(SIGSEGV).00
16128ms220kbKilled by signal 11(SIGSEGV).0
17128ms216kbKilled by signal 11(SIGSEGV).0
18132ms216kbKilled by signal 11(SIGSEGV).0
19128ms216kbKilled by signal 11(SIGSEGV).0
20128ms216kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?