Pagini recente » Borderou de evaluare (job #1310603) | Borderou de evaluare (job #3255814) | Borderou de evaluare (job #2344621) | Borderou de evaluare (job #2411193) | Borderou de evaluare (job #2508098)
Borderou de evaluare (job #2508098)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:30:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
fscanf(fin,"%d",&n);
^
main.cpp:32:44: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin,"%d%d",&v[i].st,&v[i].nd);
^
main.cpp:32:44: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:33:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
fscanf(fin,"%d",&q);
^
main.cpp:37:27: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
fscanf(fin,"%d",&x);
^
main.cpp:38:49: warning: format '%d' expects argument of type 'int', but argument 3 has type 'll {aka long long int}' [-Wformat=]
fprintf(fout,"%d\n",cautbin(0,1000005,x));
^
main.cpp:30:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
main.cpp:32:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&v[i].st,&v[i].nd);
^
main.cpp:33:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&q);
^
main.cpp:37:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 88ms | 131kb | Incorect | 0 | 0 |
| 2 | 88ms | 131kb | Incorect | 0 |
| 3 | 70ms | 131kb | Incorect | 0 |
| 4 | 90ms | 131kb | Incorect | 0 |
| 5 | 88ms | 131kb | Incorect | 0 |
| 6 | 89ms | 131kb | Incorect | 0 |
| 7 | 88ms | 131kb | Incorect | 0 |
| 8 | 72ms | 131kb | Incorect | 0 |
| 9 | 88ms | 131kb | Incorect | 0 |
| 10 | 70ms | 131kb | Incorect | 0 |
| Punctaj total | 0 |