Pagini recente » Borderou de evaluare (job #955844) | Borderou de evaluare (job #2858872) | Borderou de evaluare (job #286060) | Borderou de evaluare (job #2860558) | Borderou de evaluare (job #1882054)
Borderou de evaluare (job #1882054)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:99:17: warning: unused variable ‘nrElem’ [-Wunused-variable]
int nrElem=0;
^
user.cpp:124:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int t=0; t<pctLat[1].size(); t++)
^
user.cpp:127:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<pctLat[i].size(); j++)
^
user.cpp:134:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<pctLat[i].size(); j++)
^
user.cpp:136:53: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k=0; k<pctLat[i-1].size(); k++)
^
user.cpp:147:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<pctLat[n].size(); j++)
^
user.cpp: In function ‘void read(int&)’:
user.cpp:36:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, buffMax, stdin);
^
user.cpp:47:43: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, buffMax, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:82:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poligon5.in", "r", stdin);
^
user.cpp:83:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("poligon5.out", "w", stdout);
^
user.cpp:84:35: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, buffMax, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 700kb | OK | 10 |
2 | 0ms | 400kb | OK | 10 |
3 | 0ms | 404kb | OK | 10 |
4 | 12ms | 548kb | OK | 10 |
5 | 8ms | 436kb | OK | 10 |
6 | 0ms | 552kb | OK | 10 |
7 | 8ms | 552kb | OK | 10 |
8 | 0ms | 548kb | OK | 10 |
9 | 8ms | 428kb | OK | 10 |
10 | 0ms | 428kb | OK | 10 |
Punctaj total | 100 |