Pagini recente » Borderou de evaluare (job #1269351) | Borderou de evaluare (job #3329187) | Borderou de evaluare (job #1259340) | Borderou de evaluare (job #2764834) | Borderou de evaluare (job #1824496)
Borderou de evaluare (job #1824496)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(short int*, short int)’:
user.cpp:61:13: warning: unused variable ‘sum’ [-Wunused-variable]
short i,sum=0;
^
user.cpp: In function ‘void back()’:
user.cpp:103:10: warning: unused variable ‘as’ [-Wunused-variable]
bool as;
^
user.cpp: In function ‘int main()’:
user.cpp:129:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f1,"%d%d",&a,&b);
^
user.cpp:129:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:156:29: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(f2,"%ld",rez%mod);
^
user.cpp:129:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1,"%d%d",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Incorect | 0 |
| 2 | 0ms | 272kb | Incorect | 0 |
| 3 | 0ms | 268kb | Incorect | 0 |
| 4 | 0ms | 276kb | Incorect | 0 |
| 5 | 0ms | 272kb | Incorect | 0 |
| 6 | 0ms | 272kb | Incorect | 0 |
| 7 | 0ms | 272kb | Incorect | 0 |
| 8 | 0ms | 272kb | Incorect | 0 |
| 9 | 0ms | 268kb | Incorect | 0 |
| 10 | 0ms | 276kb | Incorect | 0 |
| Punctaj total | 0 |