Pagini recente » Borderou de evaluare (job #1241430) | Borderou de evaluare (job #2823027) | Borderou de evaluare (job #2251259) | Borderou de evaluare (job #3041153) | Borderou de evaluare (job #1695361)
Borderou de evaluare (job #1695361)
Raport evaluator
Compilare:
user.cpp: In function ‘int anc(int, int)’:
user.cpp:13:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(l[x].size() < pow + 1)
^
user.cpp: In function ‘int main()’:
user.cpp:38:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(l[i].size() > cnt && l[l[i][cnt]].size() > cnt && l[l[i][cnt]][cnt]){
^
user.cpp:38:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(l[i].size() > cnt && l[l[i][cnt]].size() > cnt && l[l[i][cnt]][cnt]){
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.in", "r", stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("stramosi.out", "w", stdout);
^
user.cpp:26:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:28:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p[i]);
^
user.cpp:45:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3208kb | OK! | 10 |
2 | 4ms | 3232kb | OK! | 10 |
3 | 8ms | 3340kb | OK! | 10 |
4 | 28ms | 3968kb | OK! | 10 |
5 | 32ms | 3984kb | OK! | 10 |
6 | 120ms | 5564kb | OK! | 10 |
7 | 168ms | 6040kb | OK! | 10 |
8 | 232ms | 5572kb | OK! | 10 |
9 | Depăşit | 26960kb | Time limit exceeded. | 0 |
10 | Depăşit | 33996kb | Time limit exceeded. | 0 |
Punctaj total | 80 |