Pagini recente » Borderou de evaluare (job #1068150) | Borderou de evaluare (job #240998) | Borderou de evaluare (job #1579485) | Borderou de evaluare (job #436290) | Borderou de evaluare (job #1310834)
Borderou de evaluare (job #1310834)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:30: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
printf("%ld\n",sel.size());
^
user.cpp:43:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<sel.size();i++) printf("%ld ",E[sel[i]].size()); printf("\n");
^
user.cpp:43:61: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘std::vector<long int>::size_type {aka unsigned int}’ [-Wformat=]
for(i=0;i<sel.size();i++) printf("%ld ",E[sel[i]].size()); printf("\n");
^
user.cpp:28:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs2.in","r",stdin);
^
user.cpp:29:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs2.out","w",stdout);
^
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:33:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&jud,&id);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Lista incorecta | 3 |
2 | 0ms | 440kb | Lista incorecta | 3 |
3 | 0ms | 444kb | Lista incorecta | 3 |
4 | 0ms | 452kb | Lista incorecta | 3 |
5 | 0ms | 448kb | Lista incorecta | 3 |
6 | 0ms | 444kb | Lista incorecta | 3 |
7 | 0ms | 448kb | Lista incorecta | 3 |
8 | 0ms | 444kb | Lista incorecta | 3 |
9 | 0ms | 448kb | Lista incorecta | 3 |
10 | 0ms | 444kb | Lista incorecta | 3 |
Punctaj total | 30 |