Pagini recente » Borderou de evaluare (job #2931574) | Borderou de evaluare (job #589406) | Borderou de evaluare (job #3034761) | Borderou de evaluare (job #2277055) | Borderou de evaluare (job #1310835)
Borderou de evaluare (job #1310835)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46: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:47: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:47: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:31: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:32: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:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:36: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 | 456kb | Lista incorecta | 3 |
| 2 | 0ms | 456kb | OK | 10 |
| 3 | 0ms | 452kb | OK | 10 |
| 4 | 0ms | 452kb | Lista incorecta | 3 |
| 5 | 0ms | 452kb | Lista incorecta | 3 |
| 6 | 0ms | 452kb | Lista incorecta | 3 |
| 7 | 0ms | 460kb | Lista incorecta | 3 |
| 8 | 0ms | 452kb | Lista incorecta | 3 |
| 9 | 0ms | 456kb | Lista incorecta | 3 |
| 10 | 0ms | 456kb | Lista incorecta | 3 |
| Punctaj total | 44 |