Borderou de evaluare (job #1229946)

Utilizator alex_bucevschiBucevschi Alexandru alex_bucevschi Data 18 septembrie 2014 11:46:50
Problema Time Travel Gossip Status done
Runda Algoritmiada 2014, Runda Finala, Clasele 9 - 10 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:31:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:33:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%d\n",a[x]); ^ user.cpp:35:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=] printf("%d\n",x); ^ user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ttg.in","r",stdin); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ttg.out","w",stdout); ^ user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:15:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld",&nn,&x); ^ user.cpp:20:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&x); ^ user.cpp:31:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms224kbKilled by signal 11(SIGSEGV).0
24ms996kbKilled by signal 11(SIGSEGV).0
30ms220kbKilled by signal 11(SIGSEGV).0
40ms220kbKilled by signal 11(SIGSEGV).0
584ms1040kbIncorect0
684ms1044kbIncorect0
70ms224kbKilled by signal 11(SIGSEGV).0
80ms224kbKilled by signal 11(SIGSEGV).0
90ms224kbKilled by signal 11(SIGSEGV).0
100ms220kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?