Pagini recente » Borderou de evaluare (job #3180763) | Borderou de evaluare (job #1842985) | Borderou de evaluare (job #318013) | Borderou de evaluare (job #1528758) | Borderou de evaluare (job #1725517)
Borderou de evaluare (job #1725517)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:9: warning: overflow in implicit constant conversion [-Woverflow]
bst = -2e9;
^
user.cpp:12:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d %d",&n,&C);
^
user.cpp:12:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:14:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d %d",&p[i].first, &p[i].second);
^
user.cpp:14:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:22:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p[j].second >= P){
^
user.cpp:32:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d",bst);
^
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("carnati.in", "r", stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carnati.out", "w", stdout);
^
user.cpp:12:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&C);
^
user.cpp:14:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&p[i].first, &p[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Incorect | 0 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 296kb | Incorect | 0 |
4 | 4ms | 300kb | Incorect | 0 |
5 | 16ms | 300kb | Incorect | 0 |
6 | 16ms | 300kb | Incorect | 0 |
7 | 16ms | 304kb | Incorect | 0 |
8 | 76ms | 304kb | Incorect | 0 |
9 | 76ms | 300kb | Incorect | 0 |
10 | 76ms | 292kb | Incorect | 0 |
Punctaj total | 10 |