Pagini recente » Borderou de evaluare (job #666974) | Borderou de evaluare (job #923873) | Borderou de evaluare (job #592921) | Borderou de evaluare (job #1725414) | Borderou de evaluare (job #1725469)
Borderou de evaluare (job #1725469)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:24: 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:14:24: 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:31:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:50:39: 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:51:41: 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:52:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%d",&p,&N);
^
user.cpp:66:43: 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 | 176ms | 1596kb | Incorect. | 0 | 0 |
2 | 240ms | 1836kb | Incorect. | 0 |
3 | 0ms | 420kb | 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 | 92ms | 1128kb | OK. | 3 | 3 |
9 | 664ms | 2224kb | OK. | 4 | 4 |
10 | 196ms | 1864kb | OK. | 4 | 4 |
11 | 568ms | 1980kb | OK. | 4 | 4 |
12 | 284ms | 1916kb | OK. | 4 | 4 |
13 | 292ms | 1960kb | OK. | 4 | 4 |
14 | 224ms | 2032kb | OK. | 5 | 5 |
15 | 288ms | 2020kb | OK. | 5 | 5 |
16 | 580ms | 2048kb | OK. | 5 | 5 |
17 | 436ms | 2008kb | OK. | 5 | 5 |
18 | 304ms | 2228kb | OK. | 5 | 5 |
19 | 324ms | 2232kb | OK. | 5 | 5 |
20 | 984ms | 2232kb | OK. | 6 | 6 |
21 | Depăşit | 2232kb | Time limit exceeded. | 0 | 0 |
22 | 368ms | 2228kb | OK. | 6 | 6 |
Punctaj total | 74 |