Pagini recente » Borderou de evaluare (job #1582511) | Cod sursa (job #3280461) | Borderou de evaluare (job #1877056) | Cod sursa (job #1126232) | Borderou de evaluare (job #1725450)
Borderou de evaluare (job #1725450)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&p,&N);
^
user.cpp:51:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp: In function ‘void Read(short int)’:
user.cpp:13:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&Ch);
^
user.cpp: In function ‘bool Compare(short int, short int)’:
user.cpp:30:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.in","r",stdin);
^
user.cpp:50:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.out","w",stdout);
^
user.cpp:51:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p,&N);
^
user.cpp:65:28: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(short i=1;i<=v[pos][0];i++)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 180ms | 1600kb | Incorect. | 0 | 0 |
| 2 | 240ms | 1832kb | Incorect. | 0 |
| 3 | 0ms | 416kb | Incorect. | 0 |
| 4 | 32ms | 992kb | Incorect. | 0 |
| 5 | 0ms | 388kb | OK. | 3 | 3 |
| 6 | 68ms | 1360kb | OK. | 3 | 3 |
| 7 | 0ms | 336kb | OK. | 3 | 3 |
| 8 | 96ms | 1132kb | OK. | 3 | 3 |
| 9 | 672ms | 2228kb | OK. | 4 | 4 |
| 10 | 204ms | 1864kb | OK. | 4 | 4 |
| 11 | 564ms | 1980kb | OK. | 4 | 4 |
| 12 | 276ms | 1920kb | OK. | 4 | 4 |
| 13 | 300ms | 1960kb | OK. | 4 | 4 |
| 14 | 220ms | 2028kb | OK. | 5 | 5 |
| 15 | 292ms | 2024kb | OK. | 5 | 5 |
| 16 | 576ms | 2048kb | OK. | 5 | 5 |
| 17 | 444ms | 2012kb | OK. | 5 | 5 |
| 18 | 316ms | 2228kb | OK. | 5 | 5 |
| 19 | 328ms | 2224kb | OK. | 5 | 5 |
| 20 | Depăşit | 2228kb | Time limit exceeded. | 0 | 0 |
| 21 | Depăşit | 2236kb | Time limit exceeded. | 0 | 0 |
| 22 | 372ms | 2232kb | OK. | 6 | 6 |
| Punctaj total | 68 |