Borderou de evaluare (job #1821807)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 3 decembrie 2016 18:00:51
Problema Numar Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:16:1: warning: implicit declaration of function ‘sqrt’ [-Wimplicit-function-declaration] sqrtN = sqrt(copyOfN); ^ user.c:16:9: warning: incompatible implicit declaration of built-in function ‘sqrt’ [enabled by default] sqrtN = sqrt(copyOfN); ^ user.c:32:9: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int’ [-Wformat=] fprintf(file2, "%lld %lld\n", (2*N/divisorsOf2N[k - i] - divisorsOf2N[k - i] + 1) / 2, divisorsOf2N[k - i]); ^ user.c:35:5: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int’ [-Wformat=] fprintf(file2, "%lld %lld\n", (2*N/divisorsOf2N[i] - divisorsOf2N[i] + 1) / 2, divisorsOf2N[i]); ^ user.c:43:8: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 4 has type ‘int’ [-Wformat=] fprintf(file2, "%lld %lld\n", (2*N/divisorsOf2N[k] - divisorsOf2N[k] + 1) / 2, divisorsOf2N[k]); ^ user.c:14:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%lld", &N); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbIncorect0
20ms284kbIncorect0
30ms284kbIncorect0
40ms280kbIncorect0
50ms284kbIncorect0
60ms284kbIncorect0
70ms288kbIncorect0
80ms288kbIncorect0
90ms284kbIncorect0
100ms288kbIncorect0
Punctaj total0

Ceva nu functioneaza?