Pagini recente » Borderou de evaluare (job #2194354) | Borderou de evaluare (job #2723391) | Borderou de evaluare (job #538259) | Borderou de evaluare (job #818794) | Borderou de evaluare (job #1261264)
Borderou de evaluare (job #1261264)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:17: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&t);
^
user.cpp:28:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld%ld",&a,&b,&c);
^
user.cpp:28:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:28:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:41:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (d!=0) if (c%d==0) printf("%d %d\n",x,y);
^
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid3.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid3.out","w",stdout);
^
user.cpp:25:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:28:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld",&a,&b,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 428kb | Raspuns Corect | 10 | 0 |
2 | 0ms | 420kb | Killed by signal 8(SIGFPE). | 0 |
3 | 0ms | 432kb | Raspuns Corect | 10 |
4 | 0ms | 432kb | Raspuns Corect | 10 | 10 |
5 | 0ms | 436kb | Raspuns Corect | 10 | 10 |
6 | 0ms | 436kb | Raspuns Corect | 10 | 10 |
7 | 0ms | 432kb | Raspuns Corect | 10 | 10 |
8 | 0ms | 432kb | Raspuns Corect | 10 | 10 |
9 | 0ms | 436kb | Raspuns Corect | 10 | 20 |
10 | 0ms | 428kb | Raspuns Corect | 10 |
Punctaj total | 70 |