Pagini recente » Borderou de evaluare (job #1017106) | Borderou de evaluare (job #2570727) | Borderou de evaluare (job #1625309) | Borderou de evaluare (job #2609518) | Borderou de evaluare (job #1725468)
Borderou de evaluare (job #1725468)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
scanf("%hd%d",&p,&N);
^
user.cpp: In function ‘void Read(short unsigned int)’:
user.cpp:12:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&Ch);
^
user.cpp:16: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 ‘void ReadLast(short unsigned int)’:
user.cpp:24: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(int, int)’:
user.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:55: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:56: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:57:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%d",&p,&N);
^
user.cpp:72:37: warning: ‘pos’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(unsigned short i=1;i<=v[pos][0];i++)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 36ms | 1580kb | OK. | 5 | 20 |
| 2 | 48ms | 1820kb | OK. | 5 |
| 3 | 0ms | 400kb | OK. | 5 |
| 4 | 8ms | 984kb | OK. | 5 |
| 5 | 0ms | 376kb | OK. | 3 | 3 |
| 6 | 68ms | 1348kb | OK. | 3 | 3 |
| 7 | 0ms | 328kb | OK. | 3 | 3 |
| 8 | 88ms | 1120kb | OK. | 3 | 3 |
| 9 | 668ms | 2216kb | OK. | 4 | 4 |
| 10 | 196ms | 1852kb | OK. | 4 | 4 |
| 11 | 572ms | 1976kb | OK. | 4 | 4 |
| 12 | 276ms | 1912kb | OK. | 4 | 4 |
| 13 | 296ms | 1952kb | OK. | 4 | 4 |
| 14 | 216ms | 2016kb | OK. | 5 | 5 |
| 15 | 280ms | 2012kb | OK. | 5 | 5 |
| 16 | 572ms | 2036kb | OK. | 5 | 5 |
| 17 | 432ms | 2004kb | OK. | 5 | 5 |
| 18 | 316ms | 2220kb | OK. | 5 | 5 |
| 19 | 328ms | 2224kb | OK. | 5 | 5 |
| 20 | 992ms | 2220kb | OK. | 6 | 6 |
| 21 | Depăşit | 2224kb | Time limit exceeded. | 0 | 0 |
| 22 | 348ms | 2228kb | OK. | 6 | 6 |
| Punctaj total | 94 |