Pagini recente » Borderou de evaluare (job #126945) | Borderou de evaluare (job #2085688) | Borderou de evaluare (job #1175260) | Borderou de evaluare (job #1714250) | Borderou de evaluare (job #1574673)
Borderou de evaluare (job #1574673)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:14: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%u",&n);
^
user.cpp:12:35: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (i=0;i<m;i++) scanf("%u",&a[i]);
^
user.cpp:27:15: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%u",nr);
^
user.cpp:7:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv6.in","r",stdin);
^
user.cpp:8:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv6.out","w",stdout);
^
user.cpp:9:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&n);
^
user.cpp:12:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=0;i<m;i++) scanf("%u",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 292kb | OK | 5 |
4 | 0ms | 332kb | Incorect | 0 |
5 | 0ms | 344kb | Incorect | 0 |
6 | 0ms | 340kb | OK | 5 |
7 | 4ms | 340kb | OK | 5 |
8 | 20ms | 340kb | Incorect | 0 |
9 | 32ms | 348kb | Incorect | 0 |
10 | 44ms | 340kb | OK | 5 |
11 | 112ms | 344kb | Incorect | 0 |
12 | 188ms | 340kb | OK | 5 |
13 | 344ms | 340kb | Incorect | 0 |
14 | 412ms | 340kb | Incorect | 0 |
15 | 436ms | 384kb | Incorect | 0 |
16 | 480ms | 392kb | Incorect | 0 |
17 | 588ms | 340kb | Incorect | 0 |
18 | 468ms | 376kb | Incorect | 0 |
19 | 552ms | 348kb | Incorect | 0 |
20 | 468ms | 380kb | Incorect | 0 |
Punctaj total | 30 |