Pagini recente » Cod sursa (job #361603) | Borderou de evaluare (job #1430936)
Borderou de evaluare (job #1430936)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &p);
^
user.cpp:22:41: 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:23:43: 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:24:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:27:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[++v[0]]);
^
user.cpp:33:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &q);
^
user.cpp:36:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 312kb | OK | 10 |
3 | 12ms | 440kb | OK | 10 |
4 | 28ms | 628kb | OK | 10 |
5 | 40ms | 756kb | OK | 10 |
6 | 56ms | 900kb | OK | 10 |
7 | 76ms | 1252kb | OK | 10 |
8 | 104ms | 1464kb | Incorect | 0 |
9 | 140ms | 1688kb | Incorect | 0 |
10 | 0ms | 272kb | OK | 10 |
Punctaj total | 80 |