Pagini recente » Borderou de evaluare (job #1227737) | Borderou de evaluare (job #2197667) | Borderou de evaluare (job #1026528) | Borderou de evaluare (job #2819624) | Borderou de evaluare (job #1913981)
Borderou de evaluare (job #1913981)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:11:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d",&Q,&N,&K);
^
user.cpp:11:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:11:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘int main()’:
user.cpp:79:33: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n",rez1(K-1));
^
user.cpp:94:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",s);
^
user.cpp: In function ‘void citire()’:
user.cpp:11:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&Q,&N,&K);
^
user.cpp: In function ‘long long int rez1(long long int)’:
user.cpp:53:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘mat rez2(long long int)’:
user.cpp:71:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:75:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2sah.in","r",stdin);
^
user.cpp:76:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("2sah.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Corect! | 2 |
2 | 0ms | 436kb | Corect! | 2 |
3 | 0ms | 444kb | Corect! | 2 |
4 | 0ms | 440kb | Corect! | 2 |
5 | 0ms | 440kb | Corect! | 2 |
6 | 0ms | 444kb | Corect! | 2 |
7 | 0ms | 436kb | Corect! | 2 |
8 | 0ms | 436kb | Corect! | 2 |
9 | 0ms | 444kb | Corect! | 2 |
10 | 0ms | 436kb | Corect! | 8 |
11 | 0ms | 440kb | Corect! | 8 |
12 | 0ms | 436kb | Corect! | 8 |
13 | 0ms | 444kb | Corect! | 8 |
14 | 0ms | 448kb | Corect! | 8 |
15 | 0ms | 452kb | Corect! | 8 |
16 | 0ms | 452kb | Corect! | 8 |
17 | 0ms | 456kb | Corect! | 8 |
18 | 0ms | 452kb | Corect! | 8 |
19 | 0ms | 456kb | Corect! | 8 |
20 | 0ms | 444kb | Corect! | 2 |
Punctaj total | 100 |