Pagini recente » Borderou de evaluare (job #3265288) | Borderou de evaluare (job #2687915) | Borderou de evaluare (job #2714968) | Borderou de evaluare (job #3268429) | Borderou de evaluare (job #2438431)
Borderou de evaluare (job #2438431)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:59:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d ",dir.size()+1);
^
main.cpp:64:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<dir.size();i++)
~^~~~~~~~~~~
main.cpp:12:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("abba.in","r",stdin);
^
main.cpp:13:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("abba.out","w",stdout);
^
main.cpp:15:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
main.cpp:20:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(ch+1,1000003,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 32ms | 8126kb | OK | 10 | 10 |
2 | 62ms | 8126kb | OK | 10 | 20 |
3 | 62ms | 8126kb | OK | 10 |
4 | 34ms | 8126kb | OK | 10 | 10 |
5 | 54ms | 9043kb | OK | 10 | 30 |
6 | 53ms | 8912kb | OK | 10 |
7 | 61ms | 9437kb | OK | 10 |
8 | 72ms | 10477kb | OK | 10 | 30 |
9 | 94ms | 16760kb | OK | 10 |
10 | 110ms | 11653kb | OK | 10 |
Punctaj total | 100 |