Pagini recente » Borderou de evaluare (job #2525188) | Borderou de evaluare (job #1579887) | Borderou de evaluare (job #1059395) | Borderou de evaluare (job #1638020) | Borderou de evaluare (job #1571644)
Borderou de evaluare (job #1571644)
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:168:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[127]’ [-Wformat=]
scanf("%s %s ",&cuv[1],&cuv[2]);
^
user.cpp:168:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[127]’ [-Wformat=]
user.cpp:209: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:210:11: warning: unused variable ‘XX’ [-Wunused-variable]
int XX=x.intreg();
^
user.cpp:165: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:166: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:168: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:171: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 | 0ms | 308kb | Incorect | 0 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 304kb | OK | 10 |
4 | 0ms | 308kb | Incorect | 0 |
5 | 0ms | 304kb | Incorect | 0 |
6 | 0ms | 308kb | Incorect | 0 |
7 | 0ms | 304kb | Incorect | 0 |
8 | 0ms | 300kb | Incorect | 0 |
9 | 0ms | 308kb | Incorect | 0 |
10 | 0ms | 308kb | Incorect | 0 |
Punctaj total | 20 |