Pagini recente » Borderou de evaluare (job #2161151) | Borderou de evaluare (job #2011172) | Borderou de evaluare (job #491089) | Borderou de evaluare (job #1745736) | Borderou de evaluare (job #1829303)
Borderou de evaluare (job #1829303)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&v[i].first,&v[i].second);
^
user.cpp:25:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cablaj.in","r",stdin);
^
user.cpp:21:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cablaj.out","w",stdout);
^
user.cpp:22:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:25:47: 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 | 480kb | OK | 10 |
2 | 0ms | 480kb | Incorect | 0 |
3 | 0ms | 488kb | Incorect | 0 |
4 | 12ms | 488kb | Incorect | 0 |
5 | 24ms | 488kb | Incorect | 0 |
6 | 52ms | 496kb | Incorect | 0 |
7 | 100ms | 500kb | Incorect | 0 |
8 | 168ms | 500kb | Incorect | 0 |
9 | 232ms | 496kb | Incorect | 0 |
10 | 236ms | 496kb | Incorect | 0 |
Punctaj total | 10 |