Pagini recente » Borderou de evaluare (job #2758392) | Borderou de evaluare (job #1797980) | Borderou de evaluare (job #2213364) | Borderou de evaluare (job #2603772) | Borderou de evaluare (job #1351702)
Borderou de evaluare (job #1351702)
Raport evaluator
Compilare:
user.cpp: In function ‘void calc(FILE*, FILE*)’:
user.cpp:26:37: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%ld",pow(2,par)-1);
^
user.cpp:29:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%ld",pow(2,par+imp-1)-1);
^
user.cpp: In function ‘int main()’:
user.cpp:40:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
user.cpp:47:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:50:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&numar);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 252ms | 268kb | OK | 100 |
Punctaj total | 100 |