Pagini recente » Profil Zydan | Borderou de evaluare (job #1199806)
Borderou de evaluare (job #1199806)
Raport evaluator
Compilare:
user.cpp: In function ‘void coboara(int)’:
user.cpp:10:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (nod*2<=n) fiu=nod*2;
^
user.cpp:12:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (nod*2+1<=n&&v[fiu+1]<v[fiu]) fiu=fiu+1;
^
user.cpp: In function ‘int main()’:
user.cpp:28:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=1;i<=n;i++) {fscanf(f,"%d",&v[i]);
^
user.cpp:31:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=1;i<=n;i++) {fprintf(g,"%d ",v[1]);
^
user.cpp:27:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:28:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) {fscanf(f,"%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 244kb | OK | 5 | 20 |
| 2 | 0ms | 248kb | OK | 5 |
| 3 | 0ms | 240kb | OK | 5 |
| 4 | 0ms | 244kb | OK | 5 |
| 5 | 0ms | 248kb | OK | 5 | 20 |
| 6 | 0ms | 244kb | OK | 5 |
| 7 | 0ms | 248kb | OK | 5 |
| 8 | 0ms | 248kb | OK | 5 |
| 9 | 76ms | 632kb | OK | 5 | 20 |
| 10 | 64ms | 640kb | OK | 5 |
| 11 | 76ms | 636kb | OK | 5 |
| 12 | 72ms | 632kb | OK | 5 |
| 13 | 304ms | 1612kb | OK | 5 | 20 |
| 14 | 244ms | 1612kb | OK | 5 |
| 15 | 276ms | 1612kb | OK | 5 |
| 16 | 260ms | 1612kb | OK | 5 |
| 17 | 464ms | 2196kb | OK | 5 | 20 |
| 18 | 356ms | 2196kb | OK | 5 |
| 19 | 400ms | 2192kb | OK | 5 |
| 20 | 384ms | 2196kb | OK | 5 |
| Punctaj total | 100 |