Pagini recente » Borderou de evaluare (job #2650096) | Borderou de evaluare (job #465763) | Borderou de evaluare (job #124281) | Borderou de evaluare (job #465773) | Borderou de evaluare (job #2260137)
Borderou de evaluare (job #2260137)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:51: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:51:44: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
main.cpp:46: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:47: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:49: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:51: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 | 4ms | 262kb | OK! | 10 |
2 | 6ms | 262kb | OK! | 10 |
3 | 6ms | 262kb | OK! | 10 |
4 | 6ms | 262kb | OK! | 10 |
5 | 6ms | 262kb | OK! | 10 |
6 | 6ms | 262kb | OK! | 10 |
7 | 6ms | 262kb | OK! | 10 |
8 | 6ms | 262kb | OK! | 10 |
9 | 6ms | 262kb | OK! | 10 |
10 | 6ms | 262kb | OK! | 10 |
Punctaj total | 100 |