Pagini recente » Borderou de evaluare (job #2707069) | Borderou de evaluare (job #2681093) | Borderou de evaluare (job #2821611) | Borderou de evaluare (job #1852470) | Borderou de evaluare (job #1835126)
Borderou de evaluare (job #1835126)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:44:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d",&v[i].x,&v[i].y),
^
user.cpp:44:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:40:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri2.in","r",stdin);
^
user.cpp:41:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tri2.out","w",stdout);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:45:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
v[i].ind=i,w[i]=v[i];
^
user.cpp:60:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:64:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&a,&b,&c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 580kb | OK | 10 |
| 2 | 152ms | 4428kb | OK | 10 |
| 3 | 4ms | 860kb | OK | 10 |
| 4 | 640ms | 4428kb | OK | 10 |
| 5 | 644ms | 4428kb | OK | 10 |
| 6 | 160ms | 860kb | OK | 10 |
| 7 | 252ms | 4432kb | OK | 10 |
| 8 | 168ms | 2456kb | OK | 10 |
| 9 | 300ms | 4424kb | OK | 10 |
| 10 | 296ms | 4376kb | OK | 10 |
| Punctaj total | 100 |