Pagini recente » Borderou de evaluare (job #1003284) | Borderou de evaluare (job #44465) | Borderou de evaluare (job #975244) | Borderou de evaluare (job #2369111) | Borderou de evaluare (job #2719827)
Borderou de evaluare (job #2719827)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:15:27: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%1d",&s2[i]);
^
main.cpp:20:31: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%1d",&s1[i]),pref[i]=0;
^
main.cpp:10:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in","r",stdin);
^
main.cpp:11:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out","w",stdout);
^
main.cpp:13:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&m,&q);
^
main.cpp:15:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%1d",&s2[i]);
^
main.cpp:18:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:20:42: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%1d",&s1[i]),pref[i]=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 552ms | 262kb | Time limit exceeded | 0 |
2 | 119ms | 131kb | OK | 10 |
3 | 552ms | 262kb | Time limit exceeded | 0 |
4 | 550ms | 262kb | Time limit exceeded | 0 |
5 | 552ms | 262kb | Time limit exceeded | 0 |
6 | 493ms | 393kb | OK | 10 |
7 | 553ms | 262kb | Time limit exceeded | 0 |
8 | 552ms | 262kb | Time limit exceeded | 0 |
9 | 374ms | 290kb | OK | 10 |
10 | 58ms | 131kb | OK | 10 |
Punctaj total | 40 |