Pagini recente » Borderou de evaluare (job #852881) | Borderou de evaluare (job #2769695) | Borderou de evaluare (job #3245299) | Borderou de evaluare (job #1726768) | Borderou de evaluare (job #1910962)
Borderou de evaluare (job #1910962)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
matrix[ciur[prim]][0]++;
^
user.cpp:24:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
matrix[ciur[prim]][matrix[ciur[prim]][0]]=prim;
^
user.cpp:24:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
matrix[ciur[prim]][matrix[ciur[prim]][0]]=prim;
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divprim.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divprim.out","w",stdout);
^
user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:12:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &nr, &k);
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divprim.in","r",stdin);
^
user.cpp:26:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:28:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &nr, &k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 5 |
2 | 0ms | 312kb | OK | 5 |
3 | 0ms | 308kb | OK | 5 |
4 | 12ms | 316kb | OK | 5 |
5 | 4ms | 788kb | OK | 5 |
6 | 104ms | 2740kb | OK | 5 |
7 | 20ms | 2744kb | OK | 5 |
8 | 20ms | 2744kb | OK | 5 |
9 | 16ms | 840kb | OK | 5 |
10 | 36ms | 1884kb | OK | 5 |
11 | 92ms | 3384kb | OK | 5 |
12 | 32ms | 3948kb | OK | 5 |
13 | 48ms | 556kb | OK | 5 |
14 | 52ms | 608kb | OK | 5 |
15 | 60ms | 620kb | OK | 5 |
16 | 72ms | 784kb | OK | 5 |
17 | 92ms | 2784kb | OK | 5 |
18 | 100ms | 2788kb | OK | 5 |
19 | 112ms | 2784kb | OK | 5 |
20 | 108ms | 2788kb | OK | 5 |
Punctaj total | 100 |