Pagini recente » Borderou de evaluare (job #2328351) | Borderou de evaluare (job #1118325) | Borderou de evaluare (job #2359770) | Borderou de evaluare (job #183505) | Borderou de evaluare (job #1775517)
Borderou de evaluare (job #1775517)
Raport evaluator
Compilare:
user.cpp: In function ‘void add_hash(int, int)’:
user.cpp:23:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a[hash].size(); ++i)
^
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:55:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < a[i].size(); ++j)
^
user.cpp:61:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘std::vector<std::pair<int, int> >::size_type {aka unsigned int}’ [-Wformat=]
printf("%lu\n", b.size());
^
user.cpp:63:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < b.size(); ++i)
^
user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.in", "r", stdin);
^
user.cpp:39:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pariuri.out", "w", stdout);
^
user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:48:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &timp, &bani);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 8200kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 8ms | 8196kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 8ms | 8200kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 8ms | 8200kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 8ms | 8204kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 8ms | 8204kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 8ms | 8216kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 8ms | 8196kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 8196kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 8ms | 8200kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |