Pagini recente » Borderou de evaluare (job #1336885) | Borderou de evaluare (job #1010310) | Borderou de evaluare (job #1554740) | Borderou de evaluare (job #2945169) | Borderou de evaluare (job #2186122)
Borderou de evaluare (job #2186122)
Raport evaluator
Compilare:
user.cpp: In function ‘void create(int, int)’:
user.cpp:55:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pos == v.size())
~~~~^~~~~~~~~~~
user.cpp: In function ‘void solve()’:
user.cpp:199:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for(i=1; i<=n; ++i) cout << a[i] << ' '; cout << '\n';
^~~
user.cpp:199:50: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’
for(i=1; i<=n; ++i) cout << a[i] << ' '; cout << '\n';
^~~~
user.cpp: In function ‘void read(int&)’:
user.cpp:33:71: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(cursor == bsize) fread(buffer, 1, bsize, stdin), cursor = 0;
^
user.cpp:40:71: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
if(cursor == bsize) fread(buffer, 1, bsize, stdin), cursor = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:207:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produse2.in","r",stdin);
^
user.cpp:208:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("produse2.out","w",stdout);
^
user.cpp:210:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buffer, 1, bsize, stdin), cursor = 0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 916ms | 30872kb | Incorect | 0 | 0 |
2 | 300ms | Depăşit | Memory limit exceeded. | 0 |
3 | 264ms | Depăşit | Memory limit exceeded. | 0 |
4 | 208ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |