Pagini recente » Cod sursa (job #59628) | Borderou de evaluare (job #854234) | Borderou de evaluare (job #2400589) | Borderou de evaluare (job #2172621) | Borderou de evaluare (job #2559024)
Borderou de evaluare (job #2559024)
Raport evaluator
Compilare:
main.cpp: In function 'void trasee(int, int, int, int)':
main.cpp:11:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=n; i++)
~^~~
main.cpp:15:9: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i==n && s<x)
~^~~
main.cpp:20:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(s-pos[i-1][j]>=x)
~~~~~~~~~~~~~^~~
main.cpp: In function 'int main()':
main.cpp:33:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=n; i++)
~^~~
main.cpp:51:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<=n; i++)
~^~~
main.cpp:31:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d%d",&cerinta,&n,&st,&dr);
^
main.cpp:35:26: 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 |
| 1 | 2ms | 262kb | OK | 5 |
| 2 | 124ms | 7340kb | OK | 5 |
| 3 | 232ms | 11272kb | OK | 5 |
| 4 | 391ms | 15204kb | OK | 5 |
| 5 | 2ms | 262kb | Incorect | 0 |
| 6 | 11ms | 393kb | Incorect | 0 |
| 7 | 20ms | 655kb | Incorect | 0 |
| 8 | 17ms | 786kb | Incorect | 0 |
| 9 | 180ms | 5242kb | Incorect | 0 |
| 10 | 218ms | 6815kb | Incorect | 0 |
| 11 | 310ms | 9043kb | Incorect | 0 |
| 12 | 145ms | 8257kb | Incorect | 0 |
| 13 | 148ms | 8388kb | Incorect | 0 |
| 14 | 338ms | 10485kb | Incorect | 0 |
| 15 | 192ms | 9306kb | Incorect | 0 |
| 16 | 238ms | 10194kb | Incorect | 0 |
| 17 | 517ms | 13762kb | Incorect | 0 |
| 18 | 338ms | 13238kb | Incorect | 0 |
| 19 | 683ms | 17432kb | Incorect | 0 |
| 20 | 889ms | 18612kb | Incorect | 0 |
| Punctaj total | 20 |