Borderou de evaluare (job #1069621)

Utilizator L.DanielLungu Daniel L.Daniel Data 30 decembrie 2013 12:43:23
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:29:37: warning: NULL used in arithmetic [-Wpointer-arith] if (c >= '0'&&c <= '9'&&b[k].val==NULL) ^ user.cpp:32:17: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] b[k].operant = NULL; ^ user.cpp:33:9: warning: overflow in implicit constant conversion [-Woverflow] v[k] = MAXINT; ^ user.cpp:35:44: warning: NULL used in arithmetic [-Wpointer-arith] else if (c >= '0'&&c <= '9'&&b[k].val != NULL) ^ user.cpp:40:17: warning: NULL used in arithmetic [-Wpointer-arith] if(b[k].val!=NULL)k++; ^ user.cpp:42:13: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null] b[k].val = NULL; ^ user.cpp: In function ‘void RSD(long int, long int)’: user.cpp:4:16: warning: overflow in implicit constant conversion [-Woverflow] #define MAXINT 10000000000 ^ user.cpp:61:15: note: in expansion of macro ‘MAXINT’ long int x = MAXINT, i, l = -1; ^ user.cpp: In function ‘void add(long int)’: user.cpp:78:16: warning: NULL used in arithmetic [-Wpointer-arith] if (b[x].val!=NULL)q->val = b[x].val; ^ user.cpp: In function ‘void calcul()’: user.cpp:105:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] p->op = NULL; ^ user.cpp:110:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] p->op = NULL; ^ user.cpp:115:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] p->op = NULL; ^ user.cpp:120:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] p->op = NULL; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms384kbOK10
20ms344kbKilled by signal 11(SIGSEGV).0
30ms384kbOK10
40ms388kbOK10
50ms352kbKilled by signal 11(SIGSEGV).0
60ms388kbOK10
74ms464kbKilled by signal 11(SIGSEGV).0
88ms524kbKilled by signal 11(SIGSEGV).0
9Depăşit2500kbTime limit exceeded.0
10Depăşit1300kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?