Pagini recente » Borderou de evaluare (job #1600379) | Borderou de evaluare (job #748174) | Borderou de evaluare (job #765010) | Borderou de evaluare (job #570885) | Borderou de evaluare (job #2761052)
Borderou de evaluare (job #2761052)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:12:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d", &n, &m);
^
main.cpp:12:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:17:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &x);
^
main.cpp:26:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &q);
^
main.cpp:29:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &qe);
^
main.cpp:31:24: warning: unused variable 'step' [-Wunused-variable]
long long rez, step;
^~~~
main.cpp:10:40: 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);
^
main.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.out", "w", stdout);
^
main.cpp:12:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:17:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:26:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:29:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &qe);
^
main.cpp:41:28: warning: 'rez' may be used uninitialized in this function [-Wmaybe-uninitialized]
long long sum=s[rez];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 131kb | Incorect | 0 |
2 | 15ms | 131kb | Incorect | 0 |
3 | 121ms | 393kb | Incorect | 0 |
4 | 211ms | 655kb | Incorect | 0 |
5 | 358ms | 917kb | Incorect | 0 |
6 | 403ms | 1441kb | Time limit exceeded | 0 |
7 | 403ms | 1441kb | Time limit exceeded | 0 |
8 | 400ms | 1835kb | Time limit exceeded | 0 |
9 | 401ms | 2228kb | Time limit exceeded | 0 |
10 | 3ms | 131kb | Incorect | 0 |
Punctaj total | 0 |