Pagini recente » Borderou de evaluare (job #919381) | Borderou de evaluare (job #458858) | Borderou de evaluare (job #619841) | Borderou de evaluare (job #590078) | Borderou de evaluare (job #1960293)
Borderou de evaluare (job #1960293)
Raport evaluator
Compilare:
user.cpp: In function ‘double panta(int, int)’:
user.cpp:21:19: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
pair<int,int> p=make_pair(v[i].first,v[i].second);
^
user.cpp:22:19: warning: variable ‘q’ set but not used [-Wunused-but-set-variable]
pair<int,int> q=make_pair(v[j].first,v[j].second);
^
user.cpp: In function ‘double len(int, int)’:
user.cpp:30:19: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
pair<int,int> p=make_pair(v[i].first,v[i].second);
^
user.cpp:31:19: warning: variable ‘q’ set but not used [-Wunused-but-set-variable]
pair<int,int> q=make_pair(v[j].first,v[j].second);
^
user.cpp: In function ‘int main()’:
user.cpp:38:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plagiat.in","r",stdin);
^
user.cpp:39:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("plagiat.out","w",stdout);
^
user.cpp:40:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:43:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:45:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].first,&v[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2980kb | OK | 10 |
2 | 4ms | 2984kb | OK | 10 |
3 | 20ms | 2984kb | OK | 10 |
4 | 376ms | 2996kb | OK | 10 |
5 | 376ms | 2996kb | OK | 10 |
6 | 376ms | 2996kb | OK | 10 |
7 | 376ms | 2996kb | OK | 10 |
8 | 372ms | 3000kb | OK | 10 |
9 | 372ms | 2996kb | OK | 10 |
10 | 372ms | 3000kb | OK | 10 |
Punctaj total | 100 |