Pagini recente » Borderou de evaluare (job #1764840) | Borderou de evaluare (job #1004286) | Borderou de evaluare (job #73568) | Borderou de evaluare (job #606852) | Borderou de evaluare (job #1234273)
Borderou de evaluare (job #1234273)
Raport evaluator
Compilare:
user.cpp: In function ‘void del(int)’:
user.cpp:17:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(it->first == val) {
^
user.cpp: In function ‘void ins(int)’:
user.cpp:27:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(it->first == val) {
^
user.cpp: In function ‘int main()’:
user.cpp:67:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d", &x[i]);
^
user.cpp:69:39: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%u\n", cnt(u) - cnt(l - 1));
^
user.cpp:61:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.in", "r", stdin);
^
user.cpp:62:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv5.out", "w", stdout);
^
user.cpp:65:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &l, &u);
^
user.cpp:67:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 8076kb | Incorect | 0 |
2 | 20ms | 8116kb | Incorect | 0 |
3 | 24ms | 8240kb | Incorect | 0 |
4 | 56ms | 8808kb | Incorect | 0 |
5 | 60ms | 8936kb | Incorect | 0 |
6 | 208ms | 11008kb | Incorect | 0 |
7 | 472ms | 14244kb | Incorect | 0 |
8 | 560ms | 15112kb | Incorect | 0 |
9 | 884ms | 19296kb | Incorect | 0 |
10 | 1436ms | 29312kb | Incorect | 0 |
Punctaj total | 0 |