Pagini recente » Borderou de evaluare (job #2451596) | Borderou de evaluare (job #2706024) | Cod sursa (job #615768) | Borderou de evaluare (job #2580777) | Borderou de evaluare (job #1510980)
Borderou de evaluare (job #1510980)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", w[nr]);
^
user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.in","r",stdin);
^
user.cpp:12:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inundatie.out","w",stdout);
^
user.cpp:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld", &N, &M);
^
user.cpp:17:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i]);
^
user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &T);
^
user.cpp:30:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | OK | 10 |
| 2 | 0ms | 292kb | OK | 10 |
| 3 | 12ms | 420kb | OK | 10 |
| 4 | 28ms | 608kb | OK | 10 |
| 5 | 44ms | 736kb | OK | 10 |
| 6 | 64ms | 884kb | OK | 10 |
| 7 | 84ms | 1232kb | OK | 10 |
| 8 | 116ms | 1444kb | OK | 10 |
| 9 | 160ms | 1660kb | OK | 10 |
| 10 | 0ms | 252kb | OK | 10 |
| Punctaj total | 100 |