Pagini recente » Cod sursa (job #2403701) | Borderou de evaluare (job #2309087) | Borderou de evaluare (job #2074042) | Cod sursa (job #2067522) | Borderou de evaluare (job #1623893)
Borderou de evaluare (job #1623893)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d%d",&a,&n);
^
user.cpp:21:25: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
vv[++o]=(v[i]<<i-1);
^
user.cpp:48:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d",anou);
^
user.cpp:24:5: warning: unused variable ‘nrnou’ [-Wunused-variable]
int nrnou=0;
^
user.cpp:9:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&a,&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 432kb | OK | 10 |
4 | 0ms | 432kb | OK | 10 |
5 | 0ms | 432kb | OK | 10 |
6 | 0ms | 432kb | OK | 10 |
7 | 0ms | 436kb | OK | 10 |
8 | 0ms | 428kb | OK | 10 |
9 | 0ms | 432kb | OK | 10 |
10 | 0ms | 436kb | OK | 10 |
Punctaj total | 100 |