Pagini recente » Borderou de evaluare (job #2913299) | Borderou de evaluare (job #2913300) | Borderou de evaluare (job #2907727) | Borderou de evaluare (job #1558196) | Borderou de evaluare (job #2260175)
Borderou de evaluare (job #2260175)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:49:44: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for(k=1;k<=m;k++) { scanf("%d %d",&i,&j);
^
main.cpp:49:44: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:44:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("coprime.in","r",stdin);
^
main.cpp:45:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("coprime.out","w",stdout);
^
main.cpp:47:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
main.cpp:49:45: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(k=1;k<=m;k++) { scanf("%d %d",&i,&j);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 393kb | OK! | 10 |
2 | 5ms | 393kb | OK! | 10 |
3 | 6ms | 393kb | OK! | 10 |
4 | 5ms | 393kb | OK! | 10 |
5 | 5ms | 393kb | OK! | 10 |
6 | 6ms | 393kb | OK! | 10 |
7 | 6ms | 393kb | OK! | 10 |
8 | 5ms | 393kb | OK! | 10 |
9 | 5ms | 393kb | OK! | 10 |
10 | 6ms | 393kb | OK! | 10 |
Punctaj total | 100 |