Pagini recente » Borderou de evaluare (job #2051153) | Borderou de evaluare (job #1949278) | Borderou de evaluare (job #1406780) | Borderou de evaluare (job #2756938) | Borderou de evaluare (job #1920764)
Borderou de evaluare (job #1920764)
Raport evaluator
Compilare:
user.cpp: In member function ‘void nr_mare::citeste(FILE*)’:
user.cpp:25:27: warning: left operand of comma operator has no effect [-Wunused-value]
for(int i=nr_cifre,j=0;i>=1,j<nr_cifre;i--,j++)
^
user.cpp: In function ‘int main()’:
user.cpp:169:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1270]’ [-Wformat=]
scanf("%s %s ",&cuv[1],&cuv[2]);
^
user.cpp:169:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[1270]’ [-Wformat=]
user.cpp:219:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("POZ:%d \n",poz);
^
user.cpp:220:11: warning: unused variable ‘XX’ [-Wunused-variable]
int XX=x.intreg();
^
user.cpp:166:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.in","r",stdin);
^
user.cpp:167:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.out","w",stdout);
^
user.cpp:169:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s ",&cuv[1],&cuv[2]);
^
user.cpp:172:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&m);
^
user.cpp: In member function ‘void nr_mare::citeste(FILE*)’:
user.cpp:23:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%s ",copie);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 5244kb | OK | 10 |
2 | 8ms | 5244kb | OK | 10 |
3 | 8ms | 5248kb | OK | 10 |
4 | 8ms | 5244kb | OK | 10 |
5 | 8ms | 5248kb | OK | 10 |
6 | 12ms | 5244kb | OK | 10 |
7 | 12ms | 5248kb | OK | 10 |
8 | 16ms | 5248kb | OK | 10 |
9 | 12ms | 5244kb | OK | 10 |
10 | 8ms | 5244kb | OK | 10 |
Punctaj total | 100 |