Borderou de evaluare (job #1069619)

Utilizator L.DanielLungu Daniel L.Daniel Data 30 decembrie 2013 12:41:47
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:62:15: note: in expansion of macro ‘MAXINT’ long int x = MAXINT, i, l = -1; ^ user.cpp: In function ‘void add(long int)’: user.cpp:82: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:109:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] p->op = NULL; ^ user.cpp:114:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] p->op = NULL; ^ user.cpp:119:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] p->op = NULL; ^ user.cpp:124:10: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] p->op = NULL; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms380kbOK10
20ms352kbKilled by signal 11(SIGSEGV).0
30ms384kbOK10
40ms388kbOK10
50ms348kbKilled by signal 11(SIGSEGV).0
60ms392kbOK10
74ms460kbKilled by signal 11(SIGSEGV).0
88ms520kbKilled by signal 11(SIGSEGV).0
9Depăşit2492kbTime limit exceeded.0
10Depăşit1292kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?