Pagini recente » Borderou de evaluare (job #932236) | Borderou de evaluare (job #1517185) | Borderou de evaluare (job #575079) | Borderou de evaluare (job #1404561) | Borderou de evaluare (job #1725466)
Borderou de evaluare (job #1725466)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
scanf("%d%d",&p,&N);
^
user.cpp: In function ‘void Read(short unsigned 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:17: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:25: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:42:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:56: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:57: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:58: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:73: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 | 1576kb | OK. | 5 | 20 |
2 | 44ms | 1820kb | OK. | 5 |
3 | 0ms | 396kb | OK. | 5 |
4 | 8ms | 976kb | OK. | 5 |
5 | 0ms | 376kb | OK. | 3 | 3 |
6 | 68ms | 1348kb | OK. | 3 | 3 |
7 | 0ms | 328kb | OK. | 3 | 3 |
8 | 96ms | 1120kb | OK. | 3 | 3 |
9 | 680ms | 2220kb | OK. | 4 | 4 |
10 | 196ms | 1852kb | OK. | 4 | 4 |
11 | 548ms | 1972kb | OK. | 4 | 4 |
12 | 272ms | 1912kb | OK. | 4 | 4 |
13 | 300ms | 1952kb | OK. | 4 | 4 |
14 | 228ms | 2020kb | OK. | 5 | 5 |
15 | 280ms | 2008kb | OK. | 5 | 5 |
16 | 560ms | 2044kb | OK. | 5 | 5 |
17 | 436ms | 1996kb | OK. | 5 | 5 |
18 | 316ms | 2224kb | OK. | 5 | 5 |
19 | 344ms | 2220kb | OK. | 5 | 5 |
20 | 988ms | 2224kb | OK. | 6 | 6 |
21 | Depăşit | 2228kb | Time limit exceeded. | 0 | 0 |
22 | 356ms | 2220kb | OK. | 6 | 6 |
Punctaj total | 94 |