Borderou de evaluare (job #1903129)

Utilizator lucadDragomir Luca lucad Data 4 martie 2017 23:42:47
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:19: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] E[strlen(E)-1]=NULL; ^ user.cpp:30:19: warning: NULL used in arithmetic [-Wpointer-arith] for(i=0;E[i]!=NULL;i++) ^ user.cpp:51:21: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] sirnr[k]=NULL; ^ user.cpp:67:24: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] aux[2]=NULL; ^ user.cpp:87:30: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null] aux[2]=NULL; ^ user.cpp:103:43: warning: NULL used in arithmetic [-Wpointer-arith] if(*p=='+' || (*p=='-' && *(p+1)==NULL) ||*p=='*' || *p=='/') ^ user.cpp: In function ‘int prioritate(char)’: user.cpp:11:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:19:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(E,100000,f); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbIncorect0
20ms252kbIncorect0
30ms244kbIncorect0
40ms256kbIncorect0
50ms248kbIncorect0
60ms248kbIncorect0
728ms264kbIncorect0
8Depăşit256kbTime limit exceeded.0
9Depăşit424kbTime limit exceeded.0
10Depăşit420kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?