Pagini recente » Borderou de evaluare (job #2662744) | Borderou de evaluare (job #1921757) | Borderou de evaluare (job #2133526) | Borderou de evaluare (job #2070651) | Borderou de evaluare (job #1362870)
Borderou de evaluare (job #1362870)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(r);i++) {
^
user.cpp:39:21: warning: unused variable ‘j’ [-Wunused-variable]
int i,t=0,aux,inc=1,j,aux2;
^
user.cpp:40:6: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok;
^
user.cpp:34:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.in","r",stdin);
^
user.cpp:37:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(r);
^
user.cpp: In function ‘int ins(std::string, int)’:
user.cpp:17:15: warning: ‘z’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int j,z;
^
/tmp/ccoGxVGk.o: In function `main':
user.cpp:(.text.startup+0x4d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 416kb | Afisarea Ingredientelor gresita | 3 |
2 | 0ms | 412kb | Afisarea Ingredientelor gresita | 3 |
3 | 0ms | 416kb | Afisarea Ingredientelor gresita | 3 |
4 | 0ms | 404kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 412kb | Afisarea Ingredientelor gresita | 3 |
6 | 0ms | 368kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 416kb | Afisarea Ingredientelor gresita | 3 |
8 | 0ms | 416kb | Afisarea Ingredientelor gresita | 3 |
9 | 0ms | 416kb | Afisarea Ingredientelor gresita | 3 |
10 | 0ms | 412kb | Raspuns Gresit | 0 |
Punctaj total | 21 |