Pagini recente » Borderou de evaluare (job #493247) | Borderou de evaluare (job #1654340) | Borderou de evaluare (job #422490) | Borderou de evaluare (job #1956229) | Borderou de evaluare (job #1829301)
Borderou de evaluare (job #1829301)
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 | 484kb | OK | 10 |
| 2 | 0ms | 484kb | Incorect | 0 |
| 3 | 0ms | 492kb | Incorect | 0 |
| 4 | 12ms | 492kb | Incorect | 0 |
| 5 | 24ms | 496kb | Incorect | 0 |
| 6 | 60ms | 500kb | Incorect | 0 |
| 7 | 108ms | 504kb | Incorect | 0 |
| 8 | 172ms | 500kb | Incorect | 0 |
| 9 | 248ms | 500kb | Incorect | 0 |
| 10 | 248ms | 500kb | Incorect | 0 |
| Punctaj total | 10 |