Pagini recente » Borderou de evaluare (job #2331880) | Borderou de evaluare (job #213546) | Borderou de evaluare (job #2047710) | Borderou de evaluare (job #2015051) | Borderou de evaluare (job #1639368)
Borderou de evaluare (job #1639368)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int)’:
user.cpp:37:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ciur[v].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:71:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", ans);
^
user.cpp:55:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minlcm.in","r",stdin);
^
user.cpp:56:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("minlcm.out","w",stdout);
^
user.cpp:60:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( scanf("%d", &t); t > 0; t--) {
^
user.cpp:64:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:66:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 380ms | 9172kb | Incorect | 0 |
Punctaj total | 0 |