Pagini recente » Borderou de evaluare (job #1889083) | Borderou de evaluare (job #1011895) | Borderou de evaluare (job #1496224) | Borderou de evaluare (job #520209) | Borderou de evaluare (job #1310937)
Borderou de evaluare (job #1310937)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60: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:61: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:61: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:44: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:45: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:47:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:49: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 | OK | 10 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 448kb | OK | 10 |
5 | 0ms | 440kb | OK | 10 |
6 | 0ms | 444kb | OK | 10 |
7 | 0ms | 444kb | OK | 10 |
8 | 0ms | 448kb | OK | 10 |
9 | 0ms | 452kb | OK | 10 |
10 | 0ms | 440kb | OK | 10 |
Punctaj total | 100 |