Pagini recente » Borderou de evaluare (job #2225319) | Borderou de evaluare (job #797892) | Borderou de evaluare (job #2567385) | Borderou de evaluare (job #3266087) | Borderou de evaluare (job #1910897)
Borderou de evaluare (job #1910897)
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 | 292kb | OK | 5 |
2 | 0ms | 316kb | OK | 5 |
3 | 0ms | 316kb | OK | 5 |
4 | 12ms | 316kb | OK | 5 |
5 | 4ms | 792kb | OK | 5 |
6 | 104ms | 2748kb | OK | 5 |
7 | 20ms | 2748kb | OK | 5 |
8 | 20ms | 2748kb | OK | 5 |
9 | 16ms | 848kb | OK | 5 |
10 | 36ms | 1888kb | OK | 5 |
11 | 88ms | 3388kb | OK | 5 |
12 | 32ms | 3956kb | OK | 5 |
13 | 52ms | 552kb | Incorect | 0 |
14 | 52ms | 612kb | Incorect | 0 |
15 | 60ms | 624kb | Incorect | 0 |
16 | 72ms | 780kb | Incorect | 0 |
17 | 96ms | 2792kb | Incorect | 0 |
18 | 104ms | 2792kb | Incorect | 0 |
19 | 120ms | 2788kb | Incorect | 0 |
20 | 116ms | 2796kb | Incorect | 0 |
Punctaj total | 60 |