Pagini recente » Borderou de evaluare (job #1059363) | Borderou de evaluare (job #2837799) | Borderou de evaluare (job #2245413) | Borderou de evaluare (job #1393619) | Borderou de evaluare (job #1417996)
Borderou de evaluare (job #1417996)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve1(int, int)’:
user.cpp:19:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[c].size(); ++i)
^
user.cpp: In function ‘int solve2(int, int)’:
user.cpp:41:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[a].size() == 1)
^
user.cpp:46:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[a].size() == 2)
^
user.cpp: In function ‘int main()’:
user.cpp:163:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drumuri4.in", "r", stdin);
^
user.cpp:164:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("drumuri4.out", "w", stdout);
^
user.cpp:165:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:168:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &Tip);
^
user.cpp:172:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
user.cpp:174:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 756kb | OK | 5 |
| 2 | 16ms | 832kb | OK | 5 |
| 3 | 148ms | 796kb | OK | 5 |
| 4 | 284ms | 812kb | OK | 5 |
| 5 | 328ms | 848kb | OK | 5 |
| 6 | 92ms | 772kb | OK | 5 |
| 7 | 372ms | 832kb | OK | 5 |
| 8 | 376ms | 844kb | OK | 5 |
| 9 | Depăşit | 1520kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1520kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 1524kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 1524kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 1524kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 1528kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 1524kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 1524kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 1528kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 1528kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 1528kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 1524kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |