Pagini recente » Borderou de evaluare (job #2840544) | Borderou de evaluare (job #1217133) | Borderou de evaluare (job #2832592) | Borderou de evaluare (job #953434) | Borderou de evaluare (job #1699762)
Borderou de evaluare (job #1699762)
Raport evaluator
Compilare:
user.cpp: In function ‘void bfs(std::pair<int, int>)’:
user.cpp:22:17: warning: operation on ‘nr’ may be undefined [-Wsequence-point]
set2[++nr] = nr;
^
user.cpp: In function ‘int main()’:
user.cpp:74:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < l[c].size(); i++){
^
user.cpp:46:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unlock.in", "r", stdin);
^
user.cpp:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("unlock.out", "w", stdout);
^
user.cpp:48:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:51:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &m, &k);
^
user.cpp:59:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 188ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |