Borderou de evaluare (job #1215202)

Utilizator lianaliana tucar liana Data 31 iulie 2014 20:41:26
Problema Partial Match Status done
Runda Infoarena Monthly 2014 - Runda 7 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:16:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&k); ^ user.cpp: In function ‘int main()’: user.cpp:79:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",rez); ^ user.cpp:81:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",vrez[i]); ^ user.cpp: In function ‘void citire()’: user.cpp:14:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); gets(b); ^ user.cpp:14:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); gets(b); ^ user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&k); ^ user.cpp: In function ‘int main()’: user.cpp:70:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("partialmatch.in","r",stdin); ^ user.cpp:71:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("partialmatch.out","w",stdout); ^ /tmp/ccYeX6uJ.o: In function `citire()': user.cpp:(.text+0x13): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
124ms320kbIncorect00
228ms316kbIncorect0
316ms372kbOK10
416ms372kbOK10
5Depăşit392kbTime limit exceeded.0
6Depăşit372kbTime limit exceeded.0
7Depăşit420kbTime limit exceeded.0
8Depăşit372kbTime limit exceeded.0
9Depăşit448kbTime limit exceeded.0
10Depăşit448kbTime limit exceeded.0
Penalizare 50 (pentru 101.4 minute) + 3 (pentru o submisie)-53
Punctaj total0

Ceva nu functioneaza?