Pagini recente » Borderou de evaluare (job #2707044) | Borderou de evaluare (job #372638) | Borderou de evaluare (job #2541027) | Borderou de evaluare (job #2361952) | Borderou de evaluare (job #2239513)
Borderou de evaluare (job #2239513)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:63: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
for (i=1;i<=n;i++) scanf("%ld%ld",&x[i].first,&x[i].second);
^
user.cpp:16:63: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("granita.in","r",stdin);
^
user.cpp:14:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("granita.out","w",stdout);
^
user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:16:64: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1;i<=n;i++) scanf("%ld%ld",&x[i].first,&x[i].second);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1316kb | OK | 10 |
2 | 0ms | 1320kb | OK | 10 |
3 | 4ms | 1392kb | OK | 10 |
4 | 12ms | 1440kb | OK | 10 |
5 | 12ms | 1436kb | OK | 10 |
6 | 12ms | 1440kb | OK | 10 |
7 | 8ms | 1440kb | OK | 10 |
8 | 12ms | 1440kb | OK | 10 |
9 | 12ms | 1440kb | OK | 10 |
10 | 12ms | 1436kb | OK | 10 |
Punctaj total | 100 |