Pagini recente » Borderou de evaluare (job #148089) | Borderou de evaluare (job #3037484) | Borderou de evaluare (job #1948119) | Borderou de evaluare (job #2939836) | Borderou de evaluare (job #1447477)
Borderou de evaluare (job #1447477)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:51:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < query[nod].size(); ++i)
^
user.cpp:56:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[nod].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:102:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < sol.size(); ++i)
^
user.cpp:65:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo.in","r",stdin);
^
user.cpp:66:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("undo.out","w",stdout);
^
user.cpp:70:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d %d", &N, &M); M ; --M)
^
user.cpp:72:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:76:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &cost);
^
user.cpp:86:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y); nr_query++;
^
user.cpp:92:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &number);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 12012kb | OK | 10 |
2 | 28ms | 12348kb | OK | 10 |
3 | 28ms | 12500kb | OK | 10 |
4 | 136ms | 14444kb | OK | 10 |
5 | 140ms | 14916kb | OK | 10 |
6 | 712ms | 25972kb | OK | 10 |
7 | 656ms | 23996kb | OK | 10 |
8 | 704ms | 25928kb | OK | 10 |
9 | 668ms | 23996kb | OK | 10 |
10 | 712ms | 26124kb | OK | 10 |
Punctaj total | 100 |